Hi, Can anyone suggest me how to make the fix sized image in the modal pop-up. I have different image with different size, when i click the thumbnails in the modal pop-up, image will display with it's original size, this I don't want. I need, image should display in fixed size.
Next requireent is, when I click the image in the overlay, then it should display image with original size. In summary, I want to pop-up the image, then want to zoom by clicking poped-up image. Please let me know is this possible using pretty image plug in, how can customize this to achieve the above requirement. I tried by modifying the width and height attributes but no luck!
I modifies the image markup, like image_markup: ''
but this has no effect, image simply displays with it's original size.
Hey, I have the little problem, that the 'like'-Button do not work properly. when i'm clicking the button, its changing to grey with the count 1, but after a second it changes back to the simple like button, and nothing has been posted on Facebook... Any Idea?
s0n4, are you testing it online or from a local file? to combat this problem i also "liked" something else on another side, then it seemed to reset my ability to do so from my site
Vlad, the facebook like doesn't seem to be working for a number of us. Any ideas? I also have this problem in which when I click "next" on the gallery view it closes down the lightbox then re-opens it and shows the next picture.
hi I am trying to add a linkable button to my prettyphoto.js Does anyone have an example of how to do so? I want to make a button that is used to purchase a photo. So the button when clicked will navigate to a url i designate.
so iv been reading this thread over and over. making sure i have not missed out anything.im using wp-prettyphoto (wp-prettyphoto 1.6.2 modified for WP 3.1.1) I have copied the Vladimirs .js file and css but i still cant get the twitter and facebook button link to share individual images. is there a way to customize the actual link? if so what file is the script in?
so i found this link that tell you how to customize the tweet button. i figure you would have to alter this piece code in the wp-prettyphoto/js/jquery.prettyPhoto.js file
function _changeTwitter() { if (settings.twitter) { var link = _getCurrentPictureLink(); $('.pp_social .twitter').html('');
but im not sure what to alter. if an of you know how to do this to make it share the pictue url instead of the full gallery, it would be greatly appreciated.
also if there is a way to customize the title of the tweet that would be nice. :)
the main thing i want to get done is so it will pull the url for the photo. what i have noticed is when you click the image and it opens in the lightbox, the url in the main browser changes. this is the url that we need the tweet button to call. from what i have seen im thinking that the code should start out like this
&url=
now what has to go after the = in this code i do not know.
if any one knows how to call the current url using &url= please lend a hand here
i thought it owuld have looked something like this
&url=getUrl
but that didn't work. i am doing all this with no knowledge of code and scripts what so ever so if any one with the knowledge can help please do.
so i found this piece of code. it seems to grab the current browser url. if i can find where to place it in the twitter button code i think it would work
oh well. lets hope some one can help. i still feel like the facebook and twitter button should be changed to an addthis or sharethis button though. this would be much easier because then you would only have one piece of code to work with. lets hope some one can help soon
hi does any one know how to change the image on vlads facebook like button to the traditional one?
social_tools: '
', /* html or false to disable */
Above is Vlads line of code. Hi code works awesome for liking individual photos and not just the whole gallery! Just need to make the like button in US format.
Hi twitter button working great and link on wall is directly to overlay gallery. How do the same with facebook link ? I have the same problem like 'rjmnz' link is to photo and can't open in overlay gallery
Hi Vladimir , This is what I"m looking for,thanks! But your demo site not working on Chrome got error "image cannot be loaded...",working fine on Firefox.
Hello! There was discussion about how to save images, I have oposite question. How to disable "save as" and download images ? (or right-click in general) Thank you !
For anyone interested, we solved the initial concern of this thread by integrating a Javascript Lazyload into PrettyPhoto. Essentially, when you go to a page now, Lazyload only loads the images that are displayed on the page. As you scroll down, it loads more. That way, if you have 250 images, the user isn't left waiting for all of them to load if you click on one. I've also integrated a download button into pretty photo by modifying the style sheet and JS. There were a bunch of code changes that I made, so I'd just suggest that you grab all of my source code (which is based on PP 3.14):
Hi everybody, I've uploaded the .js file that Vladimir posted here (I know, it's been a while now) and it's not working for me. I get the pop-up but in its bottom i can't get the thumbnails loaded. If i could post a screenshot of what i get i would, but there's no option.
Has everybody got it working? Vladimir, i just need the pop-up and all the thumbnails, even if we've got more than 20-30. How can i fix it? (I don't need the facebook or twitter buttons at the moment, so it should be easier to find the error, shouldn't it?).
Thanks in advance and sorry for the inconvenience. Carme.
Problem : This is to load the bigger images one by one and not all together on clicking the thumbnail.You can take a look at the site, reference given above.
The problem is, I cannot use Drachmad code because my markup is different due to customization.
Here is the markup : ( Please view the source on the website, if the markup doesnot display ) *****************************************
*************************************
I have used a blank image that is clickable in the src. Hence i cannot use the code given by dRachmad.
My site is slower to access hence i want to make the images load one by one and not all together.