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,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
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,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
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
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
3 members (ahmed047, Nightcrawler, 1 invisible), 566 guests, and 148 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.0
(Preview build 20240506)