Magento product zoom files - magento

Can someone please tell me what are the Javascript files for default Magento Product Zoom extension. On my site its not working and seems I am missing some files.
please reply.

That depends of your magento version:
Community edition have it's zoom stored in js/varien/product.js (Product.Zoom object)
Enterprise one in /skin/frontend/enterprise/default/js/jqzoom (additional outdated jquery zoom)
I believer that your scripts are loaded fine.
The problem can be in "image size" vs "image-frame" size.
If product image is less or equal then dimensions of an html element (set in css for CE), then zoom is not performed (no use of extra large image of bad quality).
So check size of your uploaded image. Or just upload really huge one to resolve your issue.

The zoom files are in the folder skin/frontend///js/
There you can see the js files or folders (jqzoom).

Related

Boost documentation images not appearing

I cannot view the images from boost.org documentation.
For example,
http://www.boost.org/doc/libs/1_58_0/libs/math/doc/html/math_toolkit/dist_ref/dists/hyperexponential_dist.html
Looking at the source code and clicking the image links, I get "Error 404: File not found".
Apparently my professor can view the images no problem, but my classmates and I cannot. Does anyone know why I can't view any of the images on the boost.org documentation website? Thanks.
The older 1.57.0 version is ok.
They changed their image format from PNG to SVG in v1.58.0, but these are not available on the site (the offline version contains the SVG files).

Drupal images issue after enabling cache

As much as 75% of images are not loading on my Drupal 7 website. The images in the public folder are being overwritten/renamed with number extensions (Original was: myimage.jpg but is replaced with myimage_0.jpg or myimage_1.jpg, etc). This breaks the image links. Both the original image and the styled version have this same issue.
When editing the node or the view, all the images are visible. But after saving, the majority of images are not visible and link to a non-existent renamed image file.
I thought it might be permissions-related. The images folders are 755. Maybe cache-based problem? Although the problem is not corrected when flushing all cache. I do not have imagecache but do have all performance cache enabled, then installed Boost to increase site performance due to slow loading time.
Is there a way to prevent Drupal from continually renaming/overwriting the original image files or other solution?
What action are you doing to cause this? As I understand it Drupal will created the image-0.jpg file if image.jpg already exist. That's a normal behavior.

How to check file size upon upload?

I am using Liferays asset publisher and trying to configure the web content to handle images and documents. The document upload can be handled by the document library that liferay has to offer but when images have no such place. The template for the web content is written in velocity. Is there a way within velocity to check file extensions and size when uploaded? Or if there are any other ways this could be handled?
I just got done messing around with Liferay 6.1 Beta3, it is still buggy but not as bad as the trunks. The asset publisher has some improved features which include the document library having a folder structure. I think this is the way I am going to go, is just have any file used within the web content must be pushed through the document library. Also unrelated to the question the web content now has the feature to localize both the title and the abstract. Hopefully they get all the bugs fixed by release time...
Have you tried Control Panel -> Server Administration -> File Uploads
In that you can specify the Overall Maximum File Size ,Maximum File Size and allowed extensions for Document Library,Maximum File Size and allowed extensions for Images and Maximum File Size and allowed extensions for Web content images.

in joomla the images are not displayed in the image slideshow banner

i have downloaded a slideshow module for my site.and i have installed it in my site,the module is displayed in the site output but the images are not displayed.I am confused how to display the images in the slideshow.Please help me out.
You may have forgotten to enable the the module under the module manager. Clicking on the slideshow module manager will also reveal the settings for the module, where you can add/remove or change the images.
There are a number of things to check here, without knowing the exact module you are using:
Check the module has been enabled and placed on the page you want
Check the folder or image link is written correctly (e.g. images/IntroSlides displays all the images in that folder for the module I use)
Check the module width and height is set. This fixed a similar problem for me a few days ago

Drupal image upload issues

When uploading images in Drupal I have continuously encounter an issue with the physical size of the image - not the size of the file.
Let me explain further. An image could be a small file size (under the restrictions) but be larger than average on the screen. These images fail to upload in Drupal across all sites that I have built using the CMS.
Has this happened for anyone else? Any ideas how I could get around this?
I tend to use filefield and imagefield rather than the image module, because I think they give better flexibility.
You could also try imagecache, which gives you a lot of control over the uploaded images

Resources