Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Where are pictures kept & how to have images on actual pages?

Where are pictures kept & how to have images on actual pages?

Locked
This thread is locked. New replies are disabled.
24 Jan 2008, 11:28 PM
#1
ashton0603 avatar

ashton0603

Zen Follower

Join Date:
May 2007
Posts:
109
Plugin Contributions:
0

Post #1 by ashton0603

I finally figured out how to use filezilla...upload and download files. I have no idea how to create new files and folders.

I cannot find where all of my images are stored. I have found image folders with may 5 or 6 pics but I have over 100 items...where are these pics stored?

I would like to have some kind of picture display on my home page. Right now I am using a simple code you would use for places like myspace and I want something more professional. I read in other posts that I need a image url but how is that done? I am thinking since I want to use pics already in the server that I just find where it is stored and that is the url. I wanted to play around with it but cannot find the images anywhere.

Also how would I create one for a pic that is not in the server?

How do I place the pics where I want on the page? I would like to have them next to each other going across the home page / side by side. I have found a sample site for what I am wanting if someone needs a visual.

This is my site now: http://personalized2perfection.net I am trying to make it more professional and the slideshow that I have now just isn't it. I even found a site that gives you the codes and you just have to change it with your info and input it but I have no idea what to change.

Once I get these pics on the home page and other pages, how to I add alt. tags on them?

Personalized 2 Perfection
http://personalized2perfection.net
Your one stop shop for unique personalized gifts!

25 Jan 2008, 1:00 AM
#2
rainthebat avatar

rainthebat

Zen Follower

Join Date:
Feb 2007
Posts:
314
Plugin Contributions:
0

Post #2 by rainthebat

ashton0603:

I finally figured out how to use filezilla...upload and download files. I have no idea how to create new files and folders.

I cannot find where all of my images are stored. I have found image folders with may 5 or 6 pics but I have over 100 items...where are these pics stored?

The images are stored in the folder called 'images'. When you create a new item from the Admin, you have the chance to upload the images to folders within the 'images' folder. If you uploaded the images your self, they may have uploaded to the default directory which is just the 'images' directory. If someone else did the uploading, they may have put them into some of the folders in there. If you want to create a new directory(folder) to upload the images to when your using the Admin, in FileZilla, you go into the images directory in the remote view, and right click a blank area, and you get a little menu where you can see several choices, one of them is 'Create Directory'. You choose to create directory, and then you have the option to name it.

How to have an image display?
You need to insert the code where you want the image to appear i.e.
<img src="http://yourWebSite.com/images/NameOfImage.jpg" />
and if you want that image to be a hyperlink to somewhere (like a larger image) you put that <img> tag inside of a link tag i.e.
<a href=""http://yourWebSite/images/NameOfImage.jpg""><img src="http://aWebSite.com/locationOfLink" /></a>

If you are calling up an image from a server that is not your own:
<img src="http://someOneElsesWebSite.com/TheWholeAddressYouCanCutAndPaste.jpg" />

If you wanted these images to appear on the main page, you would go into the Admin -> Tools ->Define Pages Editor, then you would select define_main_page.php from the drop down menu. This will come up with a screen where you can put in the code for the images.

This is a very rough outline and perhaps a little confusing, if you need me to clarify a certain point, I'd be happy to do that.

25 Jan 2008, 1:06 AM
#3
rainthebat avatar

rainthebat

Zen Follower

Join Date:
Feb 2007
Posts:
314
Plugin Contributions:
0

Post #3 by rainthebat

One thing you'll need to keep in mind is that the images your using from your server might be a bit big to display on your main page. If you want to display several pics next to each other, you would need to make them the correct size you want them to display on the page first.

Once you have sized them to an acceptable size, you would upload them to either your images folder, or a special folder that you create separate from the images folder.

Next, to have them display next to each other correctly, you may need to do some work with your style sheet, but that is a discussion for later once you've figured out how to display an image on your page.

25 Jan 2008, 6:16 AM
#4
ashton0603 avatar

ashton0603

Zen Follower

Join Date:
May 2007
Posts:
109
Plugin Contributions:
0

Post #4 by ashton0603

Bare with me. I see the create directory....THANKS.

but I only see a handful of pics....I'll say 15 out of the 150 that I have. Let me break it down:
I went to public_html/images
here there are several folders such as banners, attributes, categories, samples, medium, large....bla bla bla
I look in all of them and only see a handful...I also see a bunch that I am not using. They aren't mine. Can I delete them? There is a bunch of images about movies and I don't sell movies....a bugs life and just a bunch of other folders and images names dealing with something other than what I have.

To answer something else above: I inputed most of my own pics when I added a product...and used the browse button. To be honest I just realized how to use filezilla...about 2 weeks ago. Before if I had multiple images for a product, I named the pics as mentioned in other posts, then I just uploaded using the same browse button. Sounds silly but it worked for me..except that I couldn't change the way they were positioned, the size, and I can't enlarge them.

Why can't I see all of my pics? Why am I seeing a bunch of images that don't pertain to my site?:shocking:

Personalized 2 Perfection
http://personalized2perfection.net
Your one stop shop for unique personalized gifts!

25 Jan 2008, 7:49 AM
#5
dwells avatar

dwells

Zen Follower

Join Date:
Nov 2007
Location:
Burney, CA. USA
Posts:
130
Plugin Contributions:
2

Post #5 by dwells

ashton0603:

This is my site now: http://personalized2perfection.net

All catagory and product pictures on the above site are in your images folder, you can find the exact name and folder of an image on your website by:

Right Clicking on the image >> Clicking on "Properties" >> the name of the file is located next to "Address (URL)" for instance >> http://personalized2perfection.net/images/30.jpg << is the location/name of the image used for this product >> http://personalized2perfection.net/index.php?main_page=product_info&cPath=23_29&products_id=101 <<

ashton0603:

Why am I seeing a bunch of images that don't pertain to my site?:shocking:

Zen Cart comes with images already included in the "images" folder so those wishing to have the "Demo Store" (for learning purposes) the images are already on the site to make the store complete.

ashton0603:

I look in all of them and only see a handful...I also see a bunch that I am not using. They aren't mine. Can I delete them? There is a bunch of images about movies and I don't sell movies....a bugs life and just a bunch of other folders and images names dealing with something other than what I have.

Yes, you can delete all the images that were in the "images" folder for the "Demo Store", be careful not to delete your images though.

Your images/pictures are mixed in with the stock pictures that came with Zen Cart, any picture you have uploaded through the products edit fuction are in the images folder, named the same way they were on your computer (some images may have changed some depending on your server for instance if you had a picture named "Picture 004.jpg" it could have been changed by your server to "Picture%20004.jpg"... "%20" is used to tell browsers that there is a space or void in the file name.)

Patience is Virtue...
ShopWells.com

Current Version of Zen Cart: 1.3.8a

26 Jan 2008, 4:35 PM
#6
ashton0603 avatar

ashton0603

Zen Follower

Join Date:
May 2007
Posts:
109
Plugin Contributions:
0

Post #6 by ashton0603

Wow:clap:

I thank you for showing me that shortcut to just right click and look at the properties. You may think that was common sense but I am very new to this.

I still have no idea why I cannot see all of my pics. I don't really care now that I can just right click to get the url...that is all I needed. I didn't want to create or upload the same pics over and over again to use the pics more than once.

I was hoping that if I deleted some of the images that I didn't need that it would help me to see the pics I do have. Does it matter if I delete these pics? Can you have too many pics in your server? Will it make the site run slow the more pics it has? If so, I will get on deleting those images I don't need.

You might know the answer to this. Why can't I see a large picture of the gift certificate? I wanted to see what it looked like so I could decide to use the default or just create my own.

Personalized 2 Perfection
http://personalized2perfection.net
Your one stop shop for unique personalized gifts!