Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Easy dynamic thumbnail generation

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #111  
Old 07-29-2007, 08:00 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Easy dynamic thumbnail generation

I'm running into a problem using this on version 4.1.x. It seems that the folder the images are stored in is fixed at /images/T, /images/D, etc.

When I try to upgrade my sql database from 4.0.19 to 4.1.x my photos get moved from the file system to the database and will not show up until I use the "regenerate cache" feature and move the photos from the database back to the file system. As an added frustration, it appears the photos in the /images/T folder are not overwritten, but appended by adding "-01", "-02" etc, and the appended photo becomes the one xcart looks for. Needless to say, this seems like a tremendous waste of my limited disk storage space.

Any ideas?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #112  
Old 08-01-2007, 01:28 AM
 
Steve-C Steve-C is offline
 

Senior Member
  
Join Date: Jan 2006
Location: England
Posts: 172
 

Default Re: Easy dynamic thumbnail generation

I would love to get this mod working but I have fuddled about with it for a while and get absolutely nothing at all, not even an error message. The site just carries on as normal!

My host says GD support is enabled
I've added the latest Cerdemann plug-in
I have created /image/cache directories everywhere with 777 read/write & none have any images in.
I've tried most of the modules/Detailed_Product_Images/product_images.tpl files that have been posted
I've made sure the code doesn't say [img]

There is no sign of anything happening on the "view source" for the pages.

I'm obviously doing something fundamentally wrong. Could anyone give me a pointer, please?

Thanks
Steve
__________________
X-Cart Gold v 4.3.2
X-AOM, Marketing Manager, On Sale
Reply With Quote
  #113  
Old 08-01-2007, 02:05 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Easy dynamic thumbnail generation

Steve,

The plugin should create a series of photos in the images/cache that is in the same directory as your xcart installation if it is working properly. It will create these the first time a customer looks at the page the photo is on.

It sounds like you have done everything correctly, and it should be working. The only thing I can think of is did you clear the templates_c directory before trying the various tpl files?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #114  
Old 08-01-2007, 02:24 AM
 
Steve-C Steve-C is offline
 

Senior Member
  
Join Date: Jan 2006
Location: England
Posts: 172
 

Default Re: Easy dynamic thumbnail generation

Hi

Yes, I've cleared the templates cache.

The only thing I can see that i haven't done is "Make sure you disable the detailed product images popup"

I'm not sure how / where to do that.

Thanks
__________________
X-Cart Gold v 4.3.2
X-AOM, Marketing Manager, On Sale
Reply With Quote
  #115  
Old 08-01-2007, 02:56 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Easy dynamic thumbnail generation

In admin, click "modules" then look for "Detailed Product Images" and click "Configure' to the right. "Display detailed images in a popup window:" should be unchecked.

When you go to a product page on your customer side what does it show as the path when you right click on the image and choose "properties"?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #116  
Old 08-01-2007, 03:04 AM
 
Steve-C Steve-C is offline
 

Senior Member
  
Join Date: Jan 2006
Location: England
Posts: 172
 

Default Re: Easy dynamic thumbnail generation

Ahh, I was looking for something more complex, like code modding!

It didn't help, though!

when I right click on the image it shows the normal full path to the image file /shop/images/P/xxxxx.jpg
__________________
X-Cart Gold v 4.3.2
X-AOM, Marketing Manager, On Sale
Reply With Quote
  #117  
Old 08-01-2007, 03:14 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Easy dynamic thumbnail generation

And you have a /shop/images/cache/ directory? Is anything in it?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #118  
Old 08-03-2007, 11:59 AM
 
OpheliaPayne OpheliaPayne is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 130
 

Default Re: Easy dynamic thumbnail generation

Editing to remove my post.

I did not realize that this mod does not affect the actual product image, only detailed images.
__________________
xCart 4.6.1
Reply With Quote
  #119  
Old 08-04-2007, 05:44 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Easy dynamic thumbnail generation

Quote:
Originally Posted by OpheliaPayne
Editing to remove my post.

I did not realize that this mod does not affect the actual product image, only detailed images.

Actually it does affect the product image, dynamic thumbnail generation is just that, it makes thumbnails automatically from full size photos.

It works fine in all areas using the 4.0.x versions of xcart. The problam I am having in the 4.1.x verisons is that I need to disable the methods that xcart is using to save thumbnailed photos and can't figure out where it is doing this.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #120  
Old 08-04-2007, 07:26 AM
 
Steve-C Steve-C is offline
 

Senior Member
  
Join Date: Jan 2006
Location: England
Posts: 172
 

Default Re: Easy dynamic thumbnail generation

Hi JW

Sorry I went missing.

Yes, I have an /images/cache/ at every level including /skin1/.
Each has 777 permissions and has an .htaccess file "allow from all".
Nothing in any of them !
__________________
X-Cart Gold v 4.3.2
X-AOM, Marketing Manager, On Sale
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:49 PM.

   

 
X-Cart forums © 2001-2020