Discussion Forums  >  Images, Documents, File Locations

Replies: 8    Views: 160

Wissam
I hate code!
Profile
Posts: 96
Reg: Dec 02, 2011
Dubai
1,660
03/28/12 02:47 AM (13 years ago)

Html Images...

Hi all, I am trying to link to an html document created by slicing in photoshop. the page loads but the images are not. i have tried putting the images folder in the images and docs folder but it didn't work. any ideas how can i do that? thanks for any help.
 
Skyr0s
Code is Art
Profile
Posts: 196
Reg: Jan 26, 2012
Hong Kong
4,310
like
03/28/12 02:53 AM (13 years ago)
Hello, To be able to understand / possible help you, we would need more precise explanations: - How have you added the HTML file ? Is it a custom HTML or an HTML Doc ? - If so, is the image just added on the page, or is it a proper link ? Have you tried linking the image with code ? <img src="BT_Images/myimage"/>
 
Wissam
I hate code!
Profile
Posts: 96
Reg: Dec 02, 2011
Dubai
1,660
like
03/28/12 04:08 AM (13 years ago)
I have created three webpages with in photoshop and saved them as html and images. i have created the links with dreamweaver and all work fine when tested in browser. I think the option of changing the links will be pain as the sliced page contains many images. any other option? thanks
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
03/28/12 05:02 AM (13 years ago)
If the urls are relative (/images) not absolute (http://) then the image folder can go in the same directory as the html file
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/28/12 09:51 AM (13 years ago)
Hi @Wissam, In buzztouch, all HTML images need to be relative, and do not need to include a pathname in them. So, having something like <img src="fun_image.png"> is perfectly acceptable. The images need to go into the appropriate folder, and you can figure out where by reading the Readme file for the package you download. It differs for Android and iOS. Image names should, to cover all your bases, be lower-case with no special characters or spaces. If you do all that, and you add the images to your Xcode or Eclipse project, you should be good! Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
03/28/12 10:58 AM (13 years ago)
The best way to understand HTML and images is to read the Buzztouch Way found in MySkylla's Guide to Buzztouch. It's purpose is to help you see how Buzztouch handles HTML, Javascript, CSS and more. www.myskylla.wordpress.com Fred
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
03/29/12 04:36 AM (13 years ago)
@raveyd Makes a good point, check DW for that. If you do have to change urls DW lets you do a find and replace so it isn't awful.
 
Wissam
I hate code!
Profile
Posts: 96
Reg: Dec 02, 2011
Dubai
1,660
like
03/29/12 12:21 PM (13 years ago)
I have made all the images relative and placed the html and images in BT_docs and everything worked fine. thanks for the stars of this forum:)
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
03/29/12 12:45 PM (13 years ago)
Happy days!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.