Previous Thread
Next Thread
Print Thread
Hop To
Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Apologies if this has been posted already.

I have a user with a shutterfly photo album. It seems that I can include an image from that album if I use html "<img src=..." tags, but using the [img]...[/img] tags do not work, because the url does not contain a .jpg extension.

Here's an example from that album:
[img]http://im1.shutterfly.com/procsrser...0108JYt2Ldy4I/cwvDm9asA3Lw9atmAbl5etGTDg[/img]

If you click on it, you get a page with the image. I cannot use HTML here, so cannot show the picture in-line.

Is there a workaround for the problem?

Joined: Jun 2006
Posts: 16,367
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,367
Likes: 126
You could make a custom tag and just use [shutterfly][/shutterfly] (or whatever you wanted)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,367
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,367
Likes: 126
I didn't use the custom tag editor to build this, but this should work...
Code
<?php
$export_tags = array (
  0 => 
  array (
    'tag' => 'shutterfly',
    'descrip' => 'Shutterfly Image URL',
    'prompt' => 'Please enter the URL of the image you wish to embed.',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<img src=\\"\\\\\\\\1\\" alt=\\"-\\" />',
  ),
);
?>


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
your picture below:

[Linked Image from im1.shutterfly.com]

just add ?ilovesd.jpg at the end of the shutterfly link.. that will 'fool' the bbcode parser

j/k about 'ilovesd' laugh choose what you want there wink

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Originally Posted by Sirdude
just add ?ilovesd.jpg
The "sd" had me scratching for a second. wink

Thanks much, I like it. I just added ?.jpg to the end...

[Linked Image from im1.shutterfly.com]

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
cool..

glad it works for you laugh


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
2 members (Ruben, SenecaFlyer), 929 guests, and 67 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)