Previous Thread
Next Thread
Print Thread
Hop To
#244677 08/01/2011 5:11 PM
Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
Joined: Jun 2004
Posts: 207
I've got a user trying to upload some pictures from a image service that has a filetype ending like this...

JPG?imgmax=800

For some reason I can't figure out where to edit the allowable filetypes. It's not the feature settings -> attachments pane. Anyone know where? Can I put a wildcard in there like .jpg* ?

tia


Won't you take me to Funkytown?
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Humm.
The suffix should not be a file type. but anyway have you tried to delete that part for a upload?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2011
Posts: 65
journeyman
journeyman
Joined: Jul 2011
Posts: 65
I would have to agree with Ruben as it sounds like imgmax=800 is just a max dimension.


Love to hate, hate to love.
Cowards taste of death many times, heroes taste of death but once. ~William Shakespeare
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I think you'd have to add a Custom Tag supporting that service... If it's just the one user though I'd recommend they use something like Photobucket which i believe attaches a standard image extension.


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: Jul 2011
Posts: 65
journeyman
journeyman
Joined: Jul 2011
Posts: 65
You are correct Gizmo about photobucket adding the proper image extension.


Love to hate, hate to love.
Cowards taste of death many times, heroes taste of death but once. ~William Shakespeare
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
just append &bleh.jpg or &bla=bleh.jpg to the end of the URL to the image service to 'fool' the bbcode.inc.php interpreter

the image service will probably ignore the extra params... or should, at least

without my knowing the exact service, i am only guessing too wink

SD #244697 08/02/2011 1:30 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by Sirdude
without my knowing the exact service, i am only guessing too wink
+1


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 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
Joined: Jun 2004
Posts: 207


Won't you take me to Funkytown?
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yup
[Linked Image from lh3.ggpht.com]

just add &bleh.jpg to the end of the url

Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
Joined: Jun 2004
Posts: 207
Thanks, DUDE.


Won't you take me to Funkytown?
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
no problemo smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
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
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (1 invisible), 920 guests, and 238 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 20230217)