Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I wanted an easier way to post an image...
#1
Lots of uploading and resizing and typing goes on with images, so I added a button in the image thing to copy the BBCode for the picture Smile 

So:
  1. Upload your picture (use multiple files), and then add a title and caption like normal.
  2. Then find your picture in the gallery, like this: http://www.rebeldroids.net/gallery/displ...10&pid=635
  3. If you don't see file info, click on the note looking icon on the left above the picture: [Image: info.png]
  4. Click on the BBCode block under the picture
    (If necessary ctrl-a/ctrl-c or whatever to copy that block, some browsers will copy it by clicking though)
  5. In your new thread paste the content into your message, pasting in the source view might best (white note thing on end)
  6. If you have more pictures in the album, just use the arrows to get to the next one, info will stay expanded until you shrink it.
It pastes a copy of the image, nicely centered with the "normal" image preview size, and even includes the caption and description!  Clicking on the image takes you to the large full image size, clicking on the label takes you to the gallery view.

Results look like this:
[Image: normal_Driving_to_Scotland_2016-07-18_08...128029.jpg]
MCK-Y the Lego Mouse Droid and a Castle
Lego Mouse Droid and Castle
Reply
#2
PS: If you want a thumbnail:
[Image: thumb_Driving_to_Scotland_2016-07-18_085...128029.jpg]

change the "normal" to "thumb" in the [img] tag:

http://www.rebeldroids.net/gallery/album...128029.jpg
->
http://www.rebeldroids.net/gallery/album...128029.jpg

(no normal or thumb at all is the full size version)

((Hmmpfh, now that I made it easier to get a link, I've forgotten what picture I wanted to post about))
Reply
#3
It didn't work for me. The image came up as a broken link when I tired it
Reply
#4
(08-10-2016, 06:34 AM)savagecreature Wrote: It didn't work for me. The image came up as a broken link when I tired it

Unexpected.  Firefox?  What image?  What was the output?  I was wondering if there are multiple hooks but only found one.
Reply
#5
Fixed the bug Savage reported (if you upload an image, the server makes a "normal" one for the gallery, and a thumbnail, but if your file was too small it doesn't bother with the "normal" since the one you uploaded fits the spot)

Also fixed a minor bug with the caption link in the copied code adding #top_display_media so that it goes immediately to the image since that's probably what you wanted to see.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)