WordPress.org

Ready to get started?Download WordPress

Forums

Yet another image viewer (4 posts)

  1. CptDondo
    Member
    Posted 8 years ago #

    I've got a very rough image viewer written and up on my page. It uses a popup window to display selected images. You can then print, email, save, the images. The saved image should be the full-size (approx. 2000x1000 px) whereas the viewed image is 640x480 px.

    I would appreciate comments on usability, especially as to different browsers. I'm a newbie at javascript and php, so there are probably rough edges all over the place.

    Please look at the Image Test Post only; none of the earlier posts have the new functionality.

    http://www.seiner.com/blog/Travels/

    (and if anyone wants a copy of the alpha code, let me know.)

    Thanks,

    --Yan

  2. CptDondo
    Member
    Posted 8 years ago #

    OOPS! Fixed an access problem to the php script. Apologies; I think it affected MSIE but not Firefox... Hopefully all is well now.

  3. jwurster
    Member
    Posted 8 years ago #

    That looks very nice. I noticed it only works on the 2 test posts. Is that because the other posts are not using the function? Also, if you have more than one image in a post, will it allow you to scroll through each one with prev/next buttons?
    Thanks, jim

  4. CptDondo
    Member
    Posted 8 years ago #

    Yes, the post has to have some specific magic incantations to make it work... Only the two test posts have the correct href tags. :-)

    As for the next/prev buttons, that's version 2. Seriously, if someone could provide some guidance as to how to parse the text of the post for specific text in a plugin I would be happy to attempt it. In fact, that's high on my list as soon as I get this working.

    AFAICT, the plugin would have to parse the text of the post for the img ... tags and build the links. Not hard, but I am completely new to wordpress/php/javascript, so some hints would be good.

    --Yan

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags