Results 1 to 9 of 9

Thread: Featured Image Zoomer works locally but not on server

  1. #1
    Join Date
    Jun 2014
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy Featured Image Zoomer works locally but not on server

    1) Script Title: Featured Image Zoomer (now w/Multi-Zoom) v2.1

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...uredzoomer.htm

    3) Describe problem: All works well locally, but when I upload the page and files to the hosting server (GoDaddy Linux Hosting), the mouseover and zoom features no longer work.

    Here is my page: http://www.own-cabo.com/beta/locations.html

    Thanks in advance.
    AlexCSL

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    GET http://www.own-cabo.com/beta/images/zoom/los-cabos-map2.jpg 404 (Not Found) jquery.min.js:2
    Cannot find Featured Image Zoomer larger image: http://www.own-cabo.com/beta/images/zoom/los-cabos-map2.jpg
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2014
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Uploaded missing images. That did it. Thanks!

  4. #4
    Join Date
    Jun 2014
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi John,
    Would you mind taking another look at my page? I'd like the magnified area to appear below the map instead of to it's right. I looked in the .js file and there is a moveimage entry but I can't figure out how to move it. I've attached the .css and .js files. Thanks in advance.
    Andrew

    multizoom.jsmultizoom.css

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Try in own-cabo.com/beta/css/multizoom.css (additions highlighted):

    Code:
    .magnifyarea { /* CSS to add shadow to magnified image. Optional */
    	box-shadow: 5px 5px 7px #818181;
    	-webkit-box-shadow: 5px 5px 7px #818181;
    	position: fixed !important;
    	left: 0 !important;
    	top: auto !important;
    	bottom: 0;
    	-moz-box-shadow: 5px 5px 7px #818181;
    	filter: progid:DXImageTransform.Microsoft.dropShadow(color=#818181, offX=5, offY=5, positive=true);
    	background: white;
    }
    You can actually play further with that to get the optimal positioning for the .magnifyarea element. Almost any valid css style can be employed. However, notice how I've used the !important keyword in some places. It is required to override scripted styles (if any) that might contradict what you're setting in the stylesheet.

    If desired/convenient, these added styles may also be introduced in a supplemental stylesheet for or on an individual page. If so, just make sure it comes after the stylesheet tag for the multizoom.css file.

    The browser cache may need to be cleared and/or the page refreshed to see changes.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. The Following User Says Thank You to jscheuer1 For This Useful Post:

    alexCSL (06-26-2014)

  7. #6
    Join Date
    Jun 2014
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    That did it... again!
    Thanks much John.

  8. #7
    Join Date
    Jun 2014
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    John,
    What syntax would I enter into the .css file to center the magnifyarea below the original map? I experimented with adding left: 1 and right: 1 or auto or different combinations of those but it always snaps to one side or the other.

    Andrew

  9. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Code:
    .magnifyarea { /* CSS to add shadow to magnified image. Optional */
    	box-shadow: 5px 5px 7px #818181;
    	-webkit-box-shadow: 5px 5px 7px #818181;
    	left: 50% !important;
    	margin-left: -300px;
    	top: 1080px !important;
    	-moz-box-shadow: 5px 5px 7px #818181;
    	filter: progid:DXImageTransform.Microsoft.dropShadow(color=#818181, offX=5, offY=5, positive=true);
    	background: white;
    }
    Last edited by jscheuer1; 06-28-2014 at 12:39 AM. Reason: get rid of potentially conflicting bottom property
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #9
    Join Date
    Jun 2014
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Perfect!
    Thanks!

Similar Threads

  1. Featured Image Zoomer
    By vwphillips in forum Submit a DHTML or CSS code
    Replies: 14
    Last Post: 11-12-2012, 12:28 PM
  2. Featured Image Zoomer
    By fleance in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 04-26-2012, 12:02 AM
  3. Ultimate Fade-in slideshow (v2.0) 2.4 works locally but not on server
    By mblohowiak in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-13-2012, 03:04 PM
  4. Ultimate Fade-In works locally, but not on production server
    By dianagard in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-01-2011, 06:10 PM
  5. Resolved Featured Image Zoomer
    By jfrene in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 07-31-2010, 06:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •