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

PSD to HTML conversion with images inside same folder

New Here ,
Feb 22, 2023 Feb 22, 2023

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
1.8K
Translate
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

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>

 

Translate
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

I agree with @Stephen 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
Translate
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
quote

I agree with Stephen 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).

Translate
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

capture-a.jpgexpand image

 

capture-b.jpgexpand image

Translate
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

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

Translate
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
LATEST

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

Translate
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