Emergency, Image are not loading

resolved (7 posts) (2 voices)

  1. Victorross
    Member

    Hi, here i am with an emergency!!
    All my images stop loading, cant get any images (post_images, fancy_images, portfolio_images) to get load on my site.
    I was editing the awake\lib\scripts\prettyPhoto\js\jquery.prettyPhoto.js and i refresh my site and get this problem (images not loading) but when i undo the modify lines to fix the problem nothings change.
    Please take a look at this page (or any page you want):
    http://www.portalcorrientes.com/galeria/boliches/

    (also i modify the shortcode.php before that the jquery.prettyPhoto.js but i didnt get the problem when i change the shortcode.php)
    (here is the post in the forum for the shortcode.php modify that i made http://mysitemyway.com/support/topic/how-to-get-multiple-recent-post-boxes-based-on-different-categories-to-homepage )

    Please i need your help my site is full o images!!

    Thanks!

    Posted 3 years ago #
  2. Victorross
    Member

    The problem is the awake\lib\scripts\prettyPhoto\js\jquery.prettyPhoto.js
    I pay a freelance to edit this file so i can get the download button in the light box
    I edit the jquery.prettyPhoto.js and then i go back with the modify but maybe is something wrong, please take a look at this lines:

    <div class="download_link"> \
    
    					 		<form method="post" action="http://www.portalcorrientes.com/download_image.php"><input name="file" type="hidden" value="" id="pp_downloadImageName" /><input type="image" src="http://portalcorrientes.com/wp-content/themes/awake/lib/scripts/prettyPhoto/images/prettyPhoto/light_rounded/download.png" /></form> \
    
    					 </div> \

    Is there a mistake here? this is the line that i try to edit... and then i go back.
    Thanks!

    Posted 3 years ago #
  3. Elliott
    Support

    Hello Victorross,

    Go ahead and redownload prettyPhoto to revert any changes. After downlading a fresh copy open up the prettyPhoto.js and find this section,

    social_tools: '<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>'

    You can add your own button there like so,

    social_tools: '<a href = "#"><img src = "#" /></a>'

    Posted 3 years ago #
  4. Victorross
    Member

    Hi Elliot! I pay a freelancer to help me with the "download" button for the images in [fancy_images]
    Now maybe there is just one line of code that is make all js crash, can you please take a look at the jquery.prettyPhoto.js and tell me if you find some bad line?
    My site is all about images, now i am going under with this bug.
    Please i wait for your help!

    Posted 3 years ago #
  5. Elliott
    Support

    It would be best to get in contact with your freelancer and ask him for instructions Victorross. If your just wanting to add a download button then you can try the code I posted before.

    Posted 3 years ago #
  6. Victorross
    Member

    Hi Elliot! I upload the prettyPhoto as you advice me, thanks for that!
    Now, how can i make that download button so my visitors can download the images that they are looking?
    Can you help me filling this line with the necessary code?

    <a href = "#"><img src = "#" /></a>

    Thanks!

    Posted 3 years ago #
  7. Elliott
    Support

    I don't see any way to offer a link for the image download there Victorross.

    What you could do is combine all of your images into a zip file and place the link there instead like so,

    <a href = "http://www.yoursite.com/images.zip"><img src = "http://www.yoursite.com/download.jpg" /></a>

    To get a download link for each image as it is opened up in prettyPhoto would take quite a bit of time to code so it would have to be considered custom work. If you need this functionality then it would be best to get in contact with your freelancer.

    Posted 3 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme