jsymonkj / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

New pwi mode: link replace #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to have pwi replace link (<a>) to a picasa image with actual 
image. I've seen it on 
http://tech.barszcz.info/projects/brscpicasa-jquery-plugin/ and it's a nice 
feature I'd like to see in pwi.

Original issue reported on code.google.com by pws...@gmail.com on 6 Jan 2013 at 7:34

GoogleCodeExporter commented 9 years ago
Actually, PWI uses direct links to pictures and links to the pages of Picasa. 
You can for example add a download link to your photo, and this will download 
only the photo from Picasa.

If I understand you incorrectly, can you please explain a bit more what you 
exactly would like to see?

Original comment by borkh...@gmail.com on 9 Jan 2013 at 9:09

GoogleCodeExporter commented 9 years ago
Lets say you have links to picasa images like this one (note the class 
statement)
<a 
href="https://picasaweb.google.com/112332452774282896153/MediaPlayers#5765802505
077382050" class="picasaPhoto">A photo</a>

By running PWI in link-replace mode, on elements with class "picasaPhoto" PWI 
would remove the link, and in it's place add a thumbnail of linked photo.

It's what brscpicasa (link I provided earlier) does.

Original comment by pws...@gmail.com on 20 Jan 2013 at 12:54

GoogleCodeExporter commented 9 years ago
Or simply will open the linked image in slimbox/lightbox instead of opening the 
linked picasa page.

Original comment by pws...@gmail.com on 20 Jan 2013 at 1:23

GoogleCodeExporter commented 9 years ago
PWI does not process links that are in the page itself. It just dynamically 
generates a page with thumbnails of the albums or pictures in an album, based 
on the account you pass in the settings.

If you want to parse the content of a page and replace all the Picasa links 
with thumbnails you will indeed need something like brspicasa.

Original comment by borkh...@gmail.com on 20 Jan 2013 at 1:30

GoogleCodeExporter commented 9 years ago

Original comment by borkh...@gmail.com on 2 Feb 2013 at 7:27