Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
bigimage00.jpeg
cloud-zoom.1.0.2.js
cloud-zoom.css
demo.html
index.php
smallimage.jpeg

README.md

Example to show a bug in Cloud Zoom

The issue

Cloud Zoom makes an unnecessary HTTP request to the root of your current folder

Steps to reproduce

  • Put this folder somewhere served by a webserver
  • The webserver should support php and going to a folder index should by default run files with name of index.php
  • View the demo.html in your browser eg http://localhost/cloud-zoom-bug/demo.html
  • The bug in cloud zoom will make a GET request to the root of the folder (eg http://localhost/cloud-zoom-bug)
  • The index.php file gets executed creating a text file on disk (presuming permissions are setup correctly)

Update

  • Removing background-image:url(\".\"); from line 173 appears to fix the issue
Something went wrong with that request. Please try again.