1
codefantom
How do I change the Jquery image size in wfdownloads?
  • 2013/6/27 22:07

  • codefantom

  • Just popping in

  • Posts: 19

  • Since: 2013/6/19


I am using wfdownloads and I noticed that the image screenshot and jquery image that loads when its clicked on are both the same size. When I change the size dimensions in the module admin then only the screenshot image changes. The jquery image doesn't. Where do I change the size of the jquery image? Or more clearly: How do I get it to load the full size picture that I upload?

2
codefantom
Re: How do I change the Jquery image size in wfdownloads?
  • 2013/6/28 19:53

  • codefantom

  • Just popping in

  • Posts: 19

  • Since: 2013/6/19


I'm still working on this issue with no solution. The module is creating a thumbnail for the screenshot image so I turned this offer as a solution but it just enlarges the screenshot image to the original size of 1120x1648.

I found out that I'm using a thickbox jquery script but the thickbox.css offered no solutions either.

There was a similar problem on a prestashop forum but the solution was to check the original image size to make sure it was larger than 600x600 and that wasn't the problem.

It seems that the module is using the generated thumbnail for the screenshot image and the thickbox image as well. And that defeats the whole purpose of the script.

I'm trying to get the displayed screenshot to show as 300x450 and the thickbox image to display as 600x900.

Does anyone know how to change the dimensions of the thickbox image?

This is my last issue and I'm ready to launch my site.

Thanks in advance.

3
luciorota
Re: How do I change the Jquery image size in wfdownloads?
  • 2013/7/17 14:50

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


I think:

"thickbox image" is the original uploaded image

"screenshot image" is resized as thumbnail only if, in module preferences, "Use Thumbnails" preference is setted to "Yes"



In templates files, for example in "wfdownloads_singlefile.html":

"thickbox image" url is <{$xoops_url}>/<{$shots_dir}>/<{$down.screenshot_full}>
and it isn't resized

"screenshot image" url is <{$down.screenshot_thumb}>
and it is resized according to module preferences


Login

Who's Online

396 user(s) are online (324 user(s) are browsing Support Forums)


Members: 0


Guests: 396


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits