chrisw184 Posted September 26, 2005 Posted September 26, 2005 Hi Is there a way to specify a stored default image if the admin has no image to upload when adding a new product? I have set the 'Image Required' to false so that it doesn't show a broken image icon but I would rather it set a stored default image if the admin adds a new product. I just think it would be easier for them instead of having to upload the default image every time they have no product image. Hope somebody can help. Thanks in advance. Chris
dave111 Posted September 26, 2005 Posted September 26, 2005 Simply open up phpmyadmin (database manager) in your hosting panel. Click on the table called "Products", you'll see a field called "products_image". Edit this field, change the "Null" to "Not Null" and where is says "Default" type in the filename of the default image. Like "noimage.gif". Now if a product is uploaded with no image, it will have this as its default. **Note this will only effect products added after this mod, previous added products will still have "Null"**
chrisw184 Posted September 26, 2005 Author Posted September 26, 2005 Simply open up phpmyadmin (database manager) in your hosting panel. Click on the table called "Products", you'll see a field called "products_image". Edit this field, change the "Null" to "Not Null" and where is says "Default" type in the filename of the default image. Like "noimage.gif". Now if a product is uploaded with no image, it will have this as its default. **Note this will only effect products added after this mod, previous added products will still have "Null"** Thanks, i'll try that as I haven't populated the cart yet. Just one question..do I have to specify the image folder e.g. images/noimage.gif or does it look in the default folder for it? Thanks again. Chris
dave111 Posted September 26, 2005 Posted September 26, 2005 you dont need the folder, it will automatically look in the "images" folders.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.