- This topic has 1 reply, 2 voices, and was last updated 12 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › NextGen Gallery 2nd Method – Force to download original image, not resized
Hello,
I’m using last version of eStore plugin. I’m trying to sell images with nextgen integration using the second method for this (1 template for all the products). I’m using the buy-now (gallery-wp-eStore-auto).
The problem is that nextgen gallery renames the files adding the suffix “_backup” to the original name of the photo.
Well, I’d like the user to get a download link to the original file (renamed if possible).
Now, what the user gets is a link to a file with “the original name” wich is a resized version of the good file.
I’ve read all related posts. One of them talks about the eStore_perform_save_as_file_name_massaging function, but it seems to be related with the renaming process.
I guess this would work for me if the file downloaded would be the .jpg_backup, but what I allways get is the small and resized image.
Could you please help me with this issue? Sure I’m passing over something…
Thankyou very much!
Andrés.
Open the “eStore_advanced_configs.php” file and search for the following line of code:
define('WP_ESTORE_ENABLE_ADVANCED_NGG_FILE_SERVE', false);
Once you find it change it to the following:
define('WP_ESTORE_ENABLE_ADVANCED_NGG_FILE_SERVE', true);
This will make it to where eStore will first look for the “.jpg_backup” version of the image at the time of download and serve that one to the customer if it finds it.