| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Dynamic Images - a FREE mod for image resizing! | ||||
|
|
Thread Tools |
#11
|
|||||||
|
|||||||
Re: Dynamic Images - a FREE mod for image resizing!
Thanks Jon!
I was looking for solution like this, to replace my pics resizer. Now, page loads much faster. (I use it for detailed images only).
__________________
X-Cart Gold Plus 4.6.6 A lot of custom mods |
|||||||
#12
|
|||||||
|
|||||||
Re: Dynamic Images - a FREE mod for image resizing!
Thanks Jon..I manually deleted the files I ftp's into the root, deleted the /cache/ directory I created in under the images directory and reinstalled from / at the folder level after correcting the zip file that previously only showed the files not the directory structure. In short I ftp'd the 3 folders beneath the upload folder ( /images, /include , /sq) into the root directory of the site. I manually patched the skin1/product_thumbnail.tpl. and the images seem to showing up ok now. Thanks much..
I do have one other concern..In the backend .. when I go to modules to activate the mod.. It shows the Dynamic Images module twice. When I tick one of the boxes to activate the module and then "update" both itterations of the module show as ticked. I am sure this is because I messed up the first install. and ran the patch twice. Do you have any Idea how I can get rid of the duplicate listing of the module. (see screen print attached) http://desertvalleyelectronics.com/Public/dynamicimage.jpg
__________________
Ver 4.1.9 Last edited by gennarof : 09-12-2008 at 04:45 AM. Reason: My apache server err log is getting continious itterations of client denied by server configuration:referer: http://forum.x-cart.com/showthread.php?t=41911&page=2 |
|||||||
#13
|
|||||||
|
|||||||
Re: Dynamic Images - a FREE mod for image resizing!
Works great for my product images. But I'd like to have my thumbnails also resized, but off the product images, so there needs to be only 1 imaged stored on the system. I've tried to modify products.tpl, but I can't make it work. Has anybody got a solution like this working?
thanks kindly! Quote:
|
|||||||
#14
|
|||||||
|
|||||||
Re: Dynamic Images - a FREE mod for image resizing!
gennarof: this will remove the duplicate, execute in SQL Patch area of X-Cart.
Code:
mpgyvr: I just upload 1 large image to my product's thumbnail, that same image is used for product listings or the actual product page itself. That way, there's only one original image, and it is resized as needed for each area that the image is displayed (whether product page or product listings). Also, if you haven't already, I suggest you implement the how-to for enhancing Dynamic Images further, as it gives you a nice pop-up effect to view your full-size image. (the link should be on the first page of this thread, or you can just visit my forums directly to find the thread) |
|||||||
#15
|
|||||||
|
|||||||
Re: Dynamic Images - a FREE mod for image resizing!
Hi,
A couple of questions. Where do I find the watermarking feature (I did try). Would it be possible to add "Click to enlarge" or something to that effect below the product image so people are aware they can access the detailed image. Thanks
__________________
Version 4.1.11 |
|||||||
#16
|
|||||||
|
|||||||
Re: Dynamic Images - a FREE mod for image resizing!
It is possible to add a water mark feature to this mod.
If i get time over the weekend i will have ago. You could try and add in skin1/customer/main/product.tpl Under Code:
Add Code:
__________________
Greg X-CART Gold 4.1.10 |
|||||||
#17
|
|||||||
|
|||||||
Re: Dynamic Images - a FREE mod for image resizing!
Quote:
Hi Darryl, here you go Code:
The image generated from this code is attached. The "Click to Enlarge" bit is better done as suggested by PCParts, as you can style it his way. This example is just to show what is possible regarding what you requested. Just a note, overlay_position=5 sets the overlay image to the center. Your options are 1-9 (starting from top left). Additionally, to give people a "hint" that they can click to expand the image, you can set hint=true (or remove the reference completely, as I believe default is true), which will add a magnifier glass to the lower right of your image. You can view the comments at the top of the file in include/templater/function.thumb_imp.php, to find out more about what's possible. EDIT: Using my method (the default thumb_imp method), you can only submit a .png file as an overlay image |
|||||||
#18
|
|||||||
|
|||||||
Re: Dynamic Images - a FREE mod for image resizing!
Try this for watermark images on all products it worked ok on my local computer.
In function.thumb_imp Change line 527 to this Code:
Under Code:
Create a folder watermark in your root images directory. In skin1/product_thumbnail.tpl Change this Code:
To this Code:
Create a watermark image and put it in images/watermark To change the image name just change this (site.gif) in the product_thumbnail.tpl There might be better ways of doing this some others might like to add to it.
__________________
Greg X-CART Gold 4.1.10 |
|||||||
#19
|
|||||||||
|
|||||||||
Re: Dynamic Images - a FREE mod for image resizing!
Just wanted to chime in and note that this is a great mod. I purchased the Telefirma mod, but it took a long while to get and is tied to a single domain. Not sure if it'll work on test localhost domains, but haven't gotten answer to this or any other basic Q's from the provider, so I'm too nervous about requiring any possible support down the road to use it. Found this mod while waiting for delivery of the Telefirma mod, though, and I love it.
I installed the Lytebox changes as suggested, and like that a lot, too. I made a few minor changes that I'd like to share in case anybody is interested. I wanted to have the image on the product editing page be resized, too, so ended changing the following files ... skin1/main/edit_image.tpl, changed image line to the following: PHP Code:
skin1/admin/home.tpl and skin1/provider/home.tpl, added the following to the head tag: HTML Code:
Now going to try to eliminate the product listing thumbnails and just replace them with a resized version of the main image ... if anybody has advice on this, please share
__________________
Version 4.1.10 |
|||||||||
#20
|
|||||||||
|
|||||||||
Re: Dynamic Images - a FREE mod for image resizing!
One more note ... in case anyone is interested in doing what I mentioned at the end of the last post (replacing product thumbnails with a resized version of the main product image), here's what I came up with, which, so far, seems to work ...
In include/func/func.files.php: Modify the function call for func_get_image_url to look like the following (added one arg) - PHP Code:
Then modify the line in that same function which looks like this - PHP Code:
to this - PHP Code:
In include/search.php: Modify the section that looks like this - PHP Code:
to this - PHP Code:
Oh, one last thing, you might as well hide the thumbnail rows in skin1/main/product_details.tpl. I think that's it. Everything else just works once that's done ... the trick was to make the tmbn_url property point to the product's main image URL. - Sam
__________________
Version 4.1.10 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|