| Author |
Topic Search Topic Options
|
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 December 2010 at 5:29pm |
Okay - who out there is a genius with this stuff? Obviously not me  Supposing as dld-nordic wanted Photobucket inserted images to be a certain size, how would this be done? My lousy attempt at coding is probably way off
'---- Start Photobucket Resizing Mod ------------------------------------- ' Dimension variables Dim strResize 'Start Mod 'If this is an hyperlink photobucket tag then check it and resize accordingly Do While InStr(1, strMessage, "", 1) > 0 AND InStr(1, strMessage, "photobucket.com", 1) If InStr(1, strTempMessage, "photobucket.com", 1) Then strResize = 200 Else continue End If Loop
'----------- END Mod ----------------------------------------------------- |
Bruce - you know this stuff How would a script need to be written (properly) to check if the link includes photobucket.com, and if it is including the image tags (just to make sure someone is not simply writing the words photobucket or com, that it could resize an image say if it exceeded 640x480 Bump
|
|
|
 |
dld-nordic
Groupie
Joined: 24 October 2008
Status: Offline
Points: 99
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 December 2010 at 5:36pm |
Thx :) But it needed to be for every inserted imagelink ;) Not only photobucket....
So it needs something general, like a way to handle images like the one posted allready on the forums. In its current form, it only works with uploaded images. And you have to manually configure it depending on which plugin you use for uploading.
Thanks again Doug! You are very kind in responding so fast to issues regarding the forum. Do you by any chance know, if Bruce is developing this alone?? Or does he have people working for him?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 December 2010 at 5:40pm |
The simplest way is to use CSS like the forum already uses to some degree to place scroll bars on any images over a certain number of pixels. Thus keeping the image looking correct while not causing formatting issues.
By trying to force the size in the way you are you would end up with a distorted image as you would be restricting the image size without reducing the images proportions.
If you use the insert image  from the toolbar you can also select the image size of your image and try and retain the correct proportions.
The best thing to do is educate your users not to simply copy and paste images but using the insert image tool to include images from other websites or upload their own from their PC.
|
|
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 December 2010 at 5:45pm |
I'm sure Bruce or Scotty will read this topic, and perhaps offer a better solution. I'm kind of guessing that the code will say something like: If this is an IMG tag Then set size at 640x480 But the problem then would be if someone say linked to an image that was 320x320, and the code tried to enlarge the image! it would make it TOO big for what it had been originally
|
|
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 December 2010 at 5:47pm |
WebWiz-Bruce wrote:
The simplest way is to use CSS like the forum already uses to some degree to place scroll bars on any images over a certain number of pixels. Thus keeping the image looking correct while not causing formatting issues.
By trying to force the size in the way you are you would end up with a distorted image as you would be restricting the image size without reducing the images proportions.
If you use the insert image  from the toolbar you can also select the image size of your image and try and retain the correct proportions.
The best thing to do is educate your users not to simply copy and paste images but using the insert image tool to include images from other websites or upload their own from their PC.
|
See - Bruce is the man  He knows this software better than anyone Thanks Bruce
|
|
|
 |
dld-nordic
Groupie
Joined: 24 October 2008
Status: Offline
Points: 99
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 December 2010 at 6:46pm |
Thx Bruce.
But a lot of forums has this plugin. Vbulletin has this and it works like a charm. Not destroying the original layout of the forum, but beeing able to display the picture in org. form if chosen.
WebWiz-Bruce wrote:
The simplest way is to use CSS like the forum already uses to some degree to place scroll bars on any images over a certain number of pixels. Thus keeping the image looking correct while not causing formatting issues.
By trying to force the size in the way you are you would end up with a distorted image as you would be restricting the image size without reducing the images proportions.
If you use the insert image  from the toolbar you can also select the image size of your image and try and retain the correct proportions.
The best thing to do is educate your users not to simply copy and paste images but using the insert image tool to include images from other websites or upload their own from their PC. |
|
 |
dld-nordic
Groupie
Joined: 24 October 2008
Status: Offline
Points: 99
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 September 2011 at 8:19pm |
|
Any updates on a tapatalk plugin??
|
 |
billd3
Senior Member
Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 September 2011 at 2:14pm |
|
Of well over 5,000 members, only one person has ever asked us for this. If such a thing ever comes about ( it's all php from what I see, making it that much more difficult) I hope it's a purely optional item that can be left out as I'd rather not have one more thing to support.... sorry, just how things go with our forum. Car people aren't tech geeks so it's not high on our list (LOL - not even on our list), and the fact only one person has even mentioned it, makes me wonder how big a thing it is in reality? I don't see a whole slew of folks clamoring for it over and over.
|
|
BillD
http://theamcpages.com
http://theamcforum.com
|
 |