Latest Forum Posts
Home arrow Forum
Design Forum
Welcome, Guest
Please Login or Register.    Lost Password?
feature request: popup style and image compression (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: feature request: popup style and image compression

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#11
maddunr (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
feature request: popup style and image compression 5 Years ago  
Hi Mark,

First off.. thanks for the wonderful hack!

I was wondering how and if I could make a couple of minor tweaks to suit my web site.

1. I like the functionality of being able to click on the thumbs and seeing the main image replaced by the thumb image. However, since the resizing happens via the browser, the picture quality isn't great. I'd like the lightbox slideshow to start when the user clicks on either the main image or the thumb images. Also, it would be great if the slideshow could start off with the image being clicked on rather than the first image.

2. VM uses PHP to resize the additional images when we use the File Manager. Can we use these thumbnails instead? My images are mostly line drawings and the browser compression makes them almost invisible

Thanks in advance,

- V
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#13
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:feature request: popup style and image compress 5 Years ago  
The image replacement works directly on the image or thumb being displayed.

Therefore if your main image is larger, then your thumb will lose quality when being displayed.

I wrote the mod this way so that you are not confined by VM's resized thumb for displaying images on the details page. This is the page where you want a larger image to begin with, not just the same thumb as on the browse page.

The lightbox works by adding the images as found to the slideshow.

So, when the second image is displayed it is still the second image and the slideshow will always start at the first image.

Sorry, I can't do anything about that.

Mark
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#14
maddunr (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:feature request: popup style and image compress 5 Years ago  
Mark,

I wanted to use VM's resize thumb feature only to display thumbnails, not for larger images. The main functionality I am looking for is to be able to launch the lightbox slideshow by clicking either the main (large) image or the thumb(s).

This is because my large images are too big for my flypage and their browser-resized versions are of very low quality.

Is this possible? Thanks in advance.

- V
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#16
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:feature request: popup style and image compress 5 Years ago  
OK V, I have made some changes.

I have attached a new shop.product_details.php that use just the thumb images, nothing else changes.

Mark

File Attachment:
File Name: shop_product_details.zip
File Size: 6396
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#17
maddunr (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:feature request: popup style and image compress 5 Years ago  
Mark,

Thanks a lot for doing this. However, there seems to be some sort of miscommunication.

I don't want to use the product's thumbnail image as the main image on the flypage. I want to use the main image added using the Product Images tab during adding new product. The thumbnails below it will be thumbnails of images added using the File Manager screen. And clicking on ANY of these will launch the slideshow.

I am attaching a sketch of what I want to achieve on the flypage.

I am sorry about the confusion. I should've explained myself better

- V
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#18
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:feature request: popup style and image compress 5 Years ago  
Hi again V,

Good job I know you well

Modified the file again and have attached, should give you exactly what you want.

Mark

File Attachment:
File Name: shop.zip
File Size: 6428
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#26
maddunr (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:feature request: popup style and image compress 5 Years ago  
This is perfect . Thanks Mark. Here it is in action.

- V
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#27
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:feature request: popup style and image compress 5 Years ago  
Hi V,

nice to see it in action. Plus we have two more alternatives for the way it works.

Mark
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#366
doob (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:feature request: popup style and image compress 4 Years, 9 Months ago  
Hi Mark,

thanks a lot and my respect for this very cool mod...

And now I fortunately found in this post exactly the way I want to use it!... - after I read all the other posts...

I think that`s the best way to show my pictures because some people do not realize that they have to click on the top button again after clicking on a thumb beneath...

greetings from germany and have a nice day...

~~~d(o.o)b~~~
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#646
dericky (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:feature request: popup style and image compress 4 Years, 8 Months ago  
Hi Mark,

That code was really helpful! I already tried it and it worked well. I just have one question...

How do I include the main image with the thumbnail? I don't see it included in the thumbnail...

D
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop