Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: add BBcode links for all sizes under images  (Read 4416 times)

0 Members and 1 Guest are viewing this topic.

lovedoct99

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
add BBcode links for all sizes under images
« on: April 04, 2008, 11:50:38 pm »

Got most of the code from

- If an image was too small to have an intermediate image created, the link wouldn't work!
So here is my updated solution. I check if the intermediate image exists and if it doesn't it shows the image path to the original image (which is the fullsize_url). On top of that I put the code into a text field to avoid lengthy urls to break the page layout and added a little javascript to autohighlight the whole code once clicked so it can easily be copied to the clipboard.
Many thanks to Stramm for his work on all these great plugins. :)

I modified the code to add ALL links, not just the normal or full size images including thumbnail links. May seem like beating a dead horse, but may come in handy for those who lack the skill or ability to edit it correctly.

Thank you Stramm for providing the idea and code and DS for the tip off.
Logged

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: add BBcode links for all sizes under images
« Reply #1 on: April 08, 2008, 02:43:27 pm »

Dear Sir

Now I can see the all users link
Another thing is can you tell me how to let the users can see their own link but not allow to see other users link

I am look forward to receiving your reply soon

Cheers
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: add BBcode links for all sizes under images
« Reply #2 on: April 08, 2008, 03:26:01 pm »

You've already asked this question on the other thread. Stick to that and don't cause double work

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: add BBcode links for all sizes under images
« Reply #3 on: April 08, 2008, 03:33:21 pm »

Is sorry very much..
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: add BBcode links for all sizes under images
« Reply #4 on: April 15, 2008, 08:33:01 pm »

Thank you so much for posting this, its what I have been looking for all morning!!!

simple and right to the point, I modified the code to only show the inter. pic
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 21 queries.