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

PSD to HTML conversion with images inside same folder

New Here ,
Feb 22, 2023 Feb 22, 2023

Copy link to clipboard

Copied

Hi folks. Right now when I do a PSD to HTML conversion, all the spliced images are stored inside a subfolder. Is there a way to have them saved in the same folder as the HTML itself, without being in a sub folder?

This is a requirement for my client's mailer tool

TOPICS
macOS

Views

1.7K

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 ,
Feb 22, 2023 Feb 22, 2023

Copy link to clipboard

Copied

All you need to do is move the images into the same path (folder) as the HTML file, then edit the code to remove the images/ prefix. Here is an example where the first has been changed and the second hasn't:

 

<td>
			<img src="pic-1.jpg" width="436" height="600" alt=""></td>
		<td>
			<img src="images/pic-2.jpg" width="364" height="600" alt=""></td>
	</tr>

 

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 ,
Feb 22, 2023 Feb 22, 2023

Copy link to clipboard

Copied

I agree with @Stephen_A_Marsh  - but had been thinking how easy this would be to do with Find/Replace in your text editor.


Adobe Community Expert / Adobe Certified Instructor

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 ,
Feb 22, 2023 Feb 22, 2023

Copy link to clipboard

Copied

quote

I agree with @Stephen_A_Marsh  - but had been thinking how easy this would be to do with Find/Replace in your text editor.


By @S_Gans

 

Agreed, I didn't mention it as I thought it goes without saying, but yes – a multiple find/replace would be the way to go as there is no point doing this manually more than once (and there should always be multiple slices).

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 ,
Feb 22, 2023 Feb 22, 2023

Copy link to clipboard

Copied

capture-a.jpg

 

capture-b.jpg

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 ,
Feb 22, 2023 Feb 22, 2023

Copy link to clipboard

Copied

@Michael Bullo - Haha, amazing what you find when you look (I obviously didn't)!

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 ,
Feb 22, 2023 Feb 22, 2023

Copy link to clipboard

Copied

LATEST

@Stephen_A_Marsh  Might I suggest that you are too busy writing top notch code to be poking around in obscure menus of unofficially retired features 😉

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