Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 07, 2020, 03:04:24 PM

Login with username, password and session length
Members
  • Total Members: 3786
  • Latest: Deaks
Stats
  • Total Posts: 190586
  • Total Topics: 20865
  • Online Today: 93
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 73
Total: 74

Author Topic: Resize Images  (Read 224 times)

0 Members and 1 Guest are viewing this topic.

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3146
    • Tiny Pix... Free Image Hosting and Sharing.
Resize Images
« on: July 25, 2020, 03:03:04 AM »
Not sure if this has been asked, couldn't find anything in a search?

When writing a HTML article and adding a new image, the only way I can see is to change to view source and edit the size from there. like so..
Code: [Select]
style="width: 350px; height: 500px
What I would like is the ability to be able to change size on the fly, ie. drag the corners of each image while I'm editing the article.

I understand this may be a limitation of the editor. or have I missed the setting?
Please don't PM me for support without an invitation.


Offline @rjen

  • Support Team
  • *
  • Posts: 2314
    • FJR-club Nederland
Re: Resize Images
« Reply #1 on: July 25, 2020, 04:11:52 AM »
Pretty sure that is a limitation of the editor: we are using the same editor SMF is using in 2.1 (SCEditor). There is no TinyPortal setting for that, so it will be something the editor does or does not support...
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3146
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Resize Images
« Reply #2 on: July 25, 2020, 04:23:49 AM »
So it will be something the editor does or does not support...
I had feeling that was the case, oh well :(

The new forum I have started is an extension of a facebook group I run for my city, and it will have a lot of articles added, just would have saved me a lot of time editing images

here if you want to see https://forum.myleicester.pw/index.php
Please don't PM me for support without an invitation.


Offline @rjen

  • Support Team
  • *
  • Posts: 2314
    • FJR-club Nederland
Re: Resize Images
« Reply #3 on: July 25, 2020, 04:42:07 AM »
Nice!
Running TP2.0.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Online lurkalot

  • Administrator
  • *
  • Posts: 6814
    • Camera Craniums
Re: Resize Images
« Reply #4 on: July 25, 2020, 04:49:09 AM »
Your site looks good Les.  O0

Re: The editor.  Must admit I always turn it off when creating articles, but it would be great if you could drag to resize images, I would be tempted to turn it back on for this feature.

Offline tino

  • Developer
  • *
  • Posts: 1940
Re: Resize Images
« Reply #5 on: July 25, 2020, 08:22:28 AM »
https://www.sceditor.com/posts/how-to-upload-and-insert-an-image/

It looks like it’s possible (kinda)

We can also resize them on upload if needed in the php.

I thought there were options in the settings for image sizes.

Online lurkalot

  • Administrator
  • *
  • Posts: 6814
    • Camera Craniums
Re: Resize Images
« Reply #6 on: July 25, 2020, 08:41:33 AM »
https://www.sceditor.com/posts/how-to-upload-and-insert-an-image/

It looks like it’s possible (kinda)

We can also resize them on upload if needed in the php.

I thought there were options in the settings for image sizes.

Online lurkalot

  • Administrator
  • *
  • Posts: 6814
    • Camera Craniums
Re: Resize Images
« Reply #7 on: July 25, 2020, 08:55:19 AM »
Cool, this would make it somewhat easier to use. Don't think we have any settings for resizing in TP, unless it's supposed to use the SMF ones.   

I sometimes wish the image Quicklist was separated from the article sys, because I use it for all sorts, like images for blocks, even for the odd forum post, and of course articles.  It's such a handy upload tool on its own. But the downside for me is, you have to have the WYSIWYG editor enabled in article settings to use it.  ;)

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3146
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Resize Images
« Reply #8 on: July 25, 2020, 08:56:50 AM »
There is an option to resize image, with an image url,

as seen here...


But only works on the article your working on, if you use another image from the "My Images Quicklist" then you have to use source edit.

What I have done, is copy the url from the "My Images Quicklist" and pasted that into the above settings.

like so..
Please don't PM me for support without an invitation.


Online lurkalot

  • Administrator
  • *
  • Posts: 6814
    • Camera Craniums
Re: Resize Images
« Reply #9 on: July 25, 2020, 09:02:05 AM »

 if you use another image from the "My Images Quicklist" then you have to use source edit.


Yep, that's how I usually do it from the get go, but I usually get in a right mess when the editor kicks in.  So I upload my images, make a note of the image urls and then turn off the editor.  Then add the images same way as you Les.