Invision Power Services: Slicing a PhotoShop file for complicated website template - Invision Power Services

Jump to content

Web Design and Coding

Our community chat forum areas are for off-topic discussion only. Please do not post topics about IPS or its products and services here. We provide other forum areas for IPS discussion.

Do you need technical support on IPS products or services?

You can obtain support via the client area, or you can try to obtain peer-to-peer support at IPS Resources.

Did you find a bug in one of our products?

If you believe you've found a bug please post it to the bug tracker.

Have a suggestion or feedback?

Use the company feedback forum or appropriate product feedback forum. You can also submit a ticket in your client area if it's a private matter.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Slicing a PhotoShop file for complicated website template Rate Topic: -----

#1 User is offline   Haku2 Icon

  • IPB Full Member
  • PipPipPip
  • View blog
  • Group: Members
  • Posts: 183
  • Joined: 25-November 04
  • Location:United States

Posted 20 March 2007 - 09:22 PM

Hello,

I've been working on a layout for my website in PhotoShop CS2 and am wondering how to slice the image fast and easily. I tried slicing a PhotoShop image to use it as my website template, but it seems that when I slice and save my images, PhotoShop creates some additional images, and some are named "spacer" without the quotes. It seems that I fixed some of the problems by fully stretching my slice area off the viewing area to make sure that it got all of the area I actually wanted and I did that for all of the sliced areas. However PhotoShop creates some additional images and even mentions them in the web page coding, although the file is so small that you can't notice a difference when deleting the additional images. I don't see where there is a space I left un-sliced. Could some one give me some advice that will help me in situations like these?

- Haku2
0

#2 Guest_IAIHMB_*

  • Group: Guests

Posted 20 March 2007 - 10:28 PM

Learn CSS and HTML and do it by hand, code generated by Adobe and Microsoft applications is crap.
0

#3 User is offline   Haku2 Icon

  • IPB Full Member
  • PipPipPip
  • View blog
  • Group: Members
  • Posts: 183
  • Joined: 25-November 04
  • Location:United States

Posted 21 March 2007 - 01:31 AM

QUOTE(IAIHMB @ Mar 20 2007, 10:28 PM) <{POST_SNAPBACK}>
Learn CSS and HTML and do it by hand, code generated by Adobe and Microsoft applications is crap.

I am doing it by hand. However, I use Adobe to slice the layout image to use when I am doing it by hand. I don't actually use the html file PhotoShop generates. I only use the sliced images from it when coding my layout by hand. The problem is that PhotoShop is some how generating some extra images that aren't part of the slices I made or intended to get from the layout image.

- Haku2
0

#4 User is offline   SmashinGarcia Icon

  • Needs Hobby
  • PipPipPipPipPipPipPip
  • View blog
  • View gallery
  • Group: Community Devs
  • Posts: 3,690
  • Joined: 23-September 04
  • Gender:Male

Posted 21 March 2007 - 02:08 AM

QUOTE(Haku2 @ Mar 20 2007, 09:31 PM) <{POST_SNAPBACK}>
I am doing it by hand. However, I use Adobe to slice the layout image to use when I am doing it by hand. I don't actually use the html file PhotoShop generates. I only use the sliced images from it when coding my layout by hand. The problem is that PhotoShop is some how generating some extra images that aren't part of the slices I made or intended to get from the layout image.

- Haku2

What do you mean?

Usually what I do is just crop images individually and then save them and code it properly.
Being a Community Dev just means I contribute to the IPB Community. My posts do not represent IPS in any way.

Looking to buy IPB?


0

#5 User is offline   Brendon Koz Icon

  • Needs Hobby
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Members
  • Posts: 4,740
  • Joined: 06-September 03
  • Location:Saratoga Springs, NY, USA

Posted 21 March 2007 - 02:22 AM

Garcia, there's a tool in Photoshop that allows you to use something like the guides to separate your image (and be quite precise) so that when you export it, you already have all of the separate images that you wanted/need. It's simply a slightly quicker and easier method to what you already do.

For the record, I use the marquee tool and either copy merged or copy (depending on the situation), make a new file, then paste... I like being certain that I know what I get and it's of the smallest possible size when exported. biggrin.gif
Posted Image
mysiteonline.org™
They say, "Practice makes perfect," yet they also say, "Nobody's perfect"... I don't get it.
0

#6 User is offline   Haku2 Icon

  • IPB Full Member
  • PipPipPip
  • View blog
  • Group: Members
  • Posts: 183
  • Joined: 25-November 04
  • Location:United States

Posted 21 March 2007 - 10:01 PM

QUOTE(Brendon Koz @ Mar 21 2007, 02:22 AM) <{POST_SNAPBACK}>
Garcia, there's a tool in Photoshop that allows you to use something like the guides to separate your image (and be quite precise) so that when you export it, you already have all of the separate images that you wanted/need. It's simply a slightly quicker and easier method to what you already do.

For the record, I use the marquee tool and either copy merged or copy (depending on the situation), make a new file, then paste... I like being certain that I know what I get and it's of the smallest possible size when exported. biggrin.gif

Thank you. However, how would I know that I didn't go over part of the same spot I already copied by accident? What does copy merged mean? I've seen it in a menu but i'm not sure what it does. Oh, hold on, i'll look up what copy merged means in the documentation. I really appreciate your help. original.gif

- Haku2
0

#7 User is offline   SmashinGarcia Icon

  • Needs Hobby
  • PipPipPipPipPipPipPip
  • View blog
  • View gallery
  • Group: Community Devs
  • Posts: 3,690
  • Joined: 23-September 04
  • Gender:Male

Posted 21 March 2007 - 10:45 PM

QUOTE(Brendon Koz @ Mar 20 2007, 10:22 PM) <{POST_SNAPBACK}>
Garcia, there's a tool in Photoshop that allows you to use something like the guides to separate your image (and be quite precise) so that when you export it, you already have all of the separate images that you wanted/need. It's simply a slightly quicker and easier method to what you already do.

For the record, I use the marquee tool and either copy merged or copy (depending on the situation), make a new file, then paste... I like being certain that I know what I get and it's of the smallest possible size when exported. biggrin.gif

Ya I know the tool I had to use it for a brochure I made for a class but can you save each of the slices without cropping or copying? I may have to do a little experiment.
Being a Community Dev just means I contribute to the IPB Community. My posts do not represent IPS in any way.

Looking to buy IPB?


0

#8 User is offline   Strange_Will Icon

  • Needs Serious Help
  • PipPipPipPipPipPip
  • View blog
  • Group: Members
  • Posts: 2,131
  • Joined: 13-June 06

Posted 21 March 2007 - 11:14 PM

I love drawing one up, but you'll need to cut and place by hand, Adobe (at least the last time I used it) wasn't that great and caused more issues than it was worth to let it do it by itself.
Wolfram Studios Public Code Library!
Includes new BBCode for spoilers!

Noooo Mr. Bubbles, noooo! Please get up Mr. Bubbles....
0

#9 User is offline   Haku2 Icon

  • IPB Full Member
  • PipPipPip
  • View blog
  • Group: Members
  • Posts: 183
  • Joined: 25-November 04
  • Location:United States

Posted 22 March 2007 - 12:00 AM

QUOTE(Strange_Will @ Mar 21 2007, 11:14 PM) <{POST_SNAPBACK}>
I love drawing one up, but you'll need to cut and place by hand, Adobe (at least the last time I used it) wasn't that great and caused more issues than it was worth to let it do it by itself.

You mean cut & paste? How do I know that next time I cut the image, I won't cut part of what I cut. Well, guess I got to be careful. By the way, when selecting things in photoshop with the marquee tool, does it obtain whatever is in the box or the box including the outline?

- Haku2
0

#10 Guest_IAIHMB_*

  • Group: Guests

Posted 22 March 2007 - 01:18 AM

I copy and paste, and the marching ants aren't included in the marquee's selection.
0

#11 User is offline   Haku2 Icon

  • IPB Full Member
  • PipPipPip
  • View blog
  • Group: Members
  • Posts: 183
  • Joined: 25-November 04
  • Location:United States

Posted 22 March 2007 - 01:34 AM

QUOTE(IAIHMB @ Mar 22 2007, 01:18 AM) <{POST_SNAPBACK}>
I copy and paste, and the marching ants aren't included in the marquee's selection.

Ok. Thank you, but with using copy, when you want to copy another part next to the selection you already copied, how do you know your not including some of what you already copied?
0

#12 User is offline   Strange_Will Icon

  • Needs Serious Help
  • PipPipPipPipPipPip
  • View blog
  • Group: Members
  • Posts: 2,131
  • Joined: 13-June 06

Posted 22 March 2007 - 01:57 AM

QUOTE(Haku2 @ Mar 21 2007, 05:00 PM) <{POST_SNAPBACK}>
You mean cut & paste? How do I know that next time I cut the image, I won't cut part of what I cut. Well, guess I got to be careful. By the way, when selecting things in photoshop with the marquee tool, does it obtain whatever is in the box or the box including the outline?

- Haku2

You can cut and paste, or slice and export to a folder.
Wolfram Studios Public Code Library!
Includes new BBCode for spoilers!

Noooo Mr. Bubbles, noooo! Please get up Mr. Bubbles....
0

#13 User is offline   Brendon Koz Icon

  • Needs Hobby
  • PipPipPipPipPipPipPip
  • View blog
  • Group: Members
  • Posts: 4,740
  • Joined: 06-September 03
  • Location:Saratoga Springs, NY, USA

Posted 22 March 2007 - 02:09 AM

QUOTE(Haku2 @ Mar 21 2007, 07:00 PM) <{POST_SNAPBACK}>
You mean cut & paste? How do I know that next time I cut the image, I won't cut part of what I cut. Well, guess I got to be careful. By the way, when selecting things in photoshop with the marquee tool, does it obtain whatever is in the box or the box including the outline?

- Haku2

It is the box including the outline, so if you selected something different, you would simply make sure the marquee was 1 pixel away from the last selection.

When I design a website though, I think not only in terms of imagery, but also in terms of HTML and CSS exportation and implementation. I'm not going to go in to how I do things though - we each do things differently. biggrin.gif "Copy Merged" will simply copy everything that you see within a marquee as-is...whereas using just "Copy" will only copy to the clipboard the portion of your currently selected layer within the selection.
Posted Image
mysiteonline.org™
They say, "Practice makes perfect," yet they also say, "Nobody's perfect"... I don't get it.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users