forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: lovedoct99 on April 04, 2008, 11:50:38 pm

Title: add BBcode links for all sizes under images
Post by: lovedoct99 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.
Title: Re: add BBcode links for all sizes under images
Post by: hgl 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
Title: Re: add BBcode links for all sizes under images
Post by: Stramm 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
Title: Re: add BBcode links for all sizes under images
Post by: hgl on April 08, 2008, 03:33:21 pm
Is sorry very much..
Title: Re: add BBcode links for all sizes under images
Post by: Hot Rides 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