• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to quickly slice a large PNG user case into multiple images for my Behance portfolio?

Explorer ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

 

Hello Community,

I am working on my Behance portfolio and have a large user case created in Figma (1440x13325px), which I exported as a single PNG image. I would like to slice this image into multiple smaller images to optimize loading times.

Could anyone guide me through the process of slicing this large PNG image into multiple smaller images using Adobe Photoshop?

I am looking for a quick and efficient method to accomplish this task.

Any help or suggestions would be greatly appreciated!

Thank you in advance!

TOPICS
Actions and scripting , macOS

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 21, 2023 Apr 21, 2023

Copy link to clipboard

Copied

Thank you for the many options offered. I have another question. It's the first time I'm running a script. If I want to use this one https://www.andrewnoske.com/wiki/Adobe_Photoshop_-_Scripts_Related_to_Montaging, how do I download it to my computer and then access it with Photoshop? Thank you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2023 Apr 21, 2023

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

@Solitaire Solidaire 

There is a Slice tool in Photoshop that allows you to optimize each "slice" separately. Photoshop then creates a separate image for each "slice" as well as html code to put all the images into a table so they will appear to be one image again when viewed in a browser where the code will work. This was something we used before CSS and divs and is no longer recommended.

 

If you use slices, how will you put them back together again? Does Behance let you edit the xhtml code and use tables?

 

Jane

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

That was my first thought too Jane, however, as Save for Web has an 8192px limit, one would first need to crop the main file to fit the restriction, then slice multiple source files. Not impossible, just messy... But as you mention, at least Save for Web will generate the HTML code.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

@Stephen_A_Marsh 

Do your scripts create the html code to put the smaller images into a table so it looks like one image again? If not, that might need to be hand-coded, assuming you can edit the html for Behance.

 

Jane

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

@jane-e 

 

No, none of the scripts create the code.

 

So pre-splitting the PSD so that it is under 8192px is probably the best that can be done, there are trade offs either way I'm afraid.

 

I'd use a guide set to create the grid using guides. Then crop the original image into two images. Then create slices from guides in each separate image that is under the 8192px length/width limit. Then use Save for Web (Legacy) to save the image slices and corresponding HTML code to display the images as a single image. As there are now two separate HTML tables, you'll need to account for this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines