Box with image-code

I want to get a link to image at once after uploading image(s) for posting it in livajournal or blog. Such as “Copy and paste this HTML into your webpage” box at Flickr…

How can realize it?

Comments

  • trisweb Administrator
    Well, right now you can only right-click the image and copy the URL of the image, but there are plans to add a feature like that.

    Is it for you, or other users? If you want to implement it, take a look at the image URLs produced by the Image class functions.
  • what codes are you looking for.

    I am assuming
    bbcode [img][/img], [url=][img][/img][/url]
    html <img src="">, [a href=""]<img src="">[/a]

    what else?
  • trisweb
    Yeah, it's not a problem for me to copy the URL and paste it into html-code. But hard to explain it for other users.

    I think it is easy to add this feature. I want to get the URL of thumbnail or/and image (by $conf['image_size']) and the URL of page in the gallery. Probably should generate not only thumbnail but and image in cache (if uploaded image is more than $conf['image_size']).
  • Up! :)
    No more ideas?
  • I would love to know how to do this as well or see this feature in the near future!
  • What link are you looking for? The full image link or the link to the resized image inside of zenphoto?
  • I would be looking for something for the viewers of my galleries to easily link to the resized image inside of zenphoto. Would be ideal for posting these images to their myspace, facebook, etc. Similar feature on photobucket.com
  • This would be a great feature.

    I would love to try to figure it out myself, but I'm not very php-smart... could anyone please tell me what code would give me the actual image url?

    Thanks
Sign In or Register to comment.