Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Tapatalk plugin/picture plugin??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tapatalk plugin/picture plugin??

 Post Reply Post Reply Page  <123>
Author
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2010 at 5:29pm
Okay - who out there is a genius with this stuff? Obviously not me LOL
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
Back to Top
dld-nordic View Drop Down
Groupie
Groupie


Joined: 24 October 2008
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote dld-nordic Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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 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.
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post 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 Wacko
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2010 at 5:47pm
Originally posted by WebWiz-Bruce 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 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 Wink
He knows this software better than anyone
Thanks Bruce
Back to Top
dld-nordic View Drop Down
Groupie
Groupie


Joined: 24 October 2008
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote dld-nordic Quote  Post ReplyReply Direct Link To This Post 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.
 
Originally posted by WebWiz-Bruce 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 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.
Back to Top
dld-nordic View Drop Down
Groupie
Groupie


Joined: 24 October 2008
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote dld-nordic Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2011 at 8:19pm
Any updates on a tapatalk plugin??
Back to Top
billd3 View Drop Down
Senior Member
Senior Member


Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
Post Options Post Options   Thanks (0) Thanks(0)   Quote billd3 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.