Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#239790 - 10/01/10 04:05 PM [img] tags without .jpg extension
Steve C Offline
enthusiast
Registered: 05/05/06
Posts: 215
Loc: California
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/procsrserv/47a...w9atmAbl5etGTDg[/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?
_________________________
WhitneyZone -- Whitney Hikers Association
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#239791 - 10/01/10 04:32 PM Re: [img] tags without .jpg extension [Re: Steve C]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
You could make a custom tag and just use [shutterfly][/shutterfly] (or whatever you wanted)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#239792 - 10/01/10 04:37 PM Re: [img] tags without .jpg extension [Re: Steve C]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
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=\\"-\\" />',
  ),
);
?>
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#239793 - 10/01/10 05:23 PM Re: [img] tags without .jpg extension [Re: Steve C]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
your picture below:



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
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#239794 - 10/01/10 05:50 PM Re: [img] tags without .jpg extension [Re: SD]
Steve C Offline
enthusiast
Registered: 05/05/06
Posts: 215
Loc: California
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...

_________________________
WhitneyZone -- Whitney Hikers Association
Top
#239795 - 10/01/10 07:37 PM Re: [img] tags without .jpg extension [Re: Steve C]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
cool..

glad it works for you laugh
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image