Osclass Support Forums

Osclass theme support => Delta Osclass Theme => Topic started by: Hugo on March 08, 2022, 07:00:22 PM

Title: Reorder Images
Post by: Hugo on March 08, 2022, 07:00:22 PM
Hello,

I get a lot of complaints that people cannot reorder their images (drag them). The only option they have is to click on the blue circle "^". Is there an option so we have a drag and drop system so people can easily reorder their images?

Hugo
expeditionmeister.com
Title: Re: Reorder Images
Post by: MB Themes on March 08, 2022, 08:06:37 PM
Image preresize plugin is only one that I know right now.
Some kind of reorder might be integrated into osclass as well in future
Title: Re: Reorder Images
Post by: Hugo on March 08, 2022, 09:38:22 PM
I cannot find that plugin. can you send me a link?
Title: Re: Reorder Images
Post by: MB Themes on March 09, 2022, 07:37:14 AM
@Hugo
I do not have it neither, check github
Title: Re: Reorder Images
Post by: Hugo on March 15, 2022, 09:07:06 AM
you mentioned it in an earlier message. How come you not have it????

Sounds very strange. (recommending it but not giving a link bc it is not your product (if it is on github)?)

Hugo
Title: Re: Reorder Images
Post by: MB Themes on March 15, 2022, 05:38:16 PM
We do not store all plugins especially those created by other developers.
Title: Re: Reorder Images
Post by: Hugo on September 22, 2022, 04:48:37 PM
Hi, still looking for the option that users are able to drag and drop simply their images. There are way more clients of Osclass that are looking for sucha feature. I know it is a lot of work but it is really needed sowe  (your clients) can satisfy our clients again.

As the saying goes: an image tells more than a 1000 words...
Title: Re: Reorder Images
Post by: mwindey on September 24, 2022, 03:47:15 PM
@Hugo

I uploaded the file for download Pre-resize images. You can use it only in case you do not use webp plugin because links to images are not correct anymore in that case.
Download link (7days): https://easyupload.io/u31p25
Title: Re: Reorder Images
Post by: Hugo on September 24, 2022, 05:51:31 PM
Hi, thanks for the update.

Do you know by any chance if this will affect my website speed since i host a worldwide used website.
Title: Re: Reorder Images
Post by: mwindey on September 25, 2022, 11:33:46 PM
@hugo

It has no effect on site speed, only on speed for users to upload images.. They get pre resized during upload and so faster upload on mobile is guaranteed. You can always go back in time if you do not like the plugin. Remove from admin and regenerate media files after. Always back up first just in case..... 😉
Title: Re: Reorder Images
Post by: Tango on September 26, 2022, 10:38:54 AM
Actually, it does have an effect on the site speed - a positive one, depending on the website traffic.

By default, Osclass is resizing all images using the integrated PHP libraries (GD or ImageMagick), which causes CPU and memory issues (mostly on shared hosting) if you have a website with lots of users that constantly post listings.
For every image added, the server needs to do some work to resize it.

The purpose of that plugin is to move the resizing work from the server, to the user browser.
So basically, the image is resized in the browser when the user uploads it, then it gets transferred to your server = 0 CPU & Memory usage, just minimal bandwidth hit.

Having said this, the plugin is actually a must-have for any high traffic website.  ;)

Edit: Actually there is some tiny memory usage as the Osclass core will still generate 3 images (Thumbnail, Preview, Normal), but not from the original image (which might be huge - 100MPX camera). It will generate them from the smaller resized one.  :D
Title: Re: Reorder Images
Post by: Hugo on September 27, 2022, 07:03:53 PM
Thank you guys for the replies and code. going to check it out today!
Title: Re: Reorder Images
Post by: Hugo on September 27, 2022, 11:28:01 PM
Tango and Mwindey,

I do have one other question; How do i make sure that the 'upload button' for images appears in the field when i have the preResize plugin installed?

Please have a look at the attached screenshots with some "inspect" where you see the differences. Thanks again for your help; I hope this is just a small problem.

(first images is with the plugin installed)


Note: i am using the Delta them
Title: Re: Reorder Images
Post by: Hugo on September 27, 2022, 11:30:32 PM
the normal situation (without preResize installed)
Title: Re: Reorder Images
Post by: Hugo on September 27, 2022, 11:38:14 PM
Nevermind! Fixed! Merci!
Title: Re: Reorder Images
Post by: mwindey on September 28, 2022, 04:56:54 PM
@Hugo

Sorry, Noticed your question to late... ;)
Title: Re: Reorder Images
Post by: Hugo on October 15, 2022, 09:34:19 AM
Hi guys, I am encountering another problem while uploading images.

When I upload images, the images will randomly turn (see attachment, images with a red dot are images that turned)

I know that the plugin (pre-resize images) also offers the option to 'turn' the images. However, this doesn't work; once you submit the listing the images will still appear turned.

Are my media settings correct? I have already played a bit with the settings, but nothing seems to work... Or do I need to regenerate my images since I changed and uploaded this new plugin?

Thanks in advance.
Title: Re: Reorder Images
Post by: MB Themes on October 15, 2022, 09:41:48 AM
Image processing class can try to turn it but I have no idea if it was or was not disabled. It did not worked reliably.
Pretty sure it was discussed on forums.
Title: Re: Reorder Images
Post by: Hugo on October 15, 2022, 09:57:59 AM
Okay, but why do my images appear turned from the moment that i upload them?

Definitely a good idea to take image reordering in to the next update of osclass.
Title: Re: Reorder Images
Post by: Hugo on October 15, 2022, 10:18:59 AM
I did find out that the problem might be the plugin (disabled it and tested uploading images).

However, I really love the option to reorder. Does anybody have a solution for this? Thanks in advance!

Title: Re: Reorder Images
Post by: mwindey on October 15, 2022, 10:41:31 AM
Pre-resize plugin is nice but yes images are rotating with it sometimes. That is one off the reasons i do not use it.
The unfortunate thing is that there is currently no alternative to move images. Strange when you know that this plugin is wanted by everyone but no programmer has yet adapted it to 2022 version. However, this would be a plugin that would be purchased very often. I would do it myself but know too little about it.
Title: Re: Reorder Images
Post by: Hugo on October 15, 2022, 11:02:16 AM
@Mwindey I totally agree!

Part of the code is already there... I do understand that i will cost a bit of time, but worth it for the customers of the osclass (MBThemes) clients.
Title: Re: Reorder Images
Post by: Hugo on April 25, 2023, 08:57:58 PM
Hi all,

I will try it again. Back in the days (when i first wrote this forum post) both versions (2.3.1 & 3.0.0) of the plugin preResize didn't workout for me.

I tried to install the plugin again today and encountered the same problem: some images (mostly vertical ones) automatically turn 90 degrees once uploading them. There is no option to turn them (even with version 3.0.0) or if you turn them they automatically turn 90 degrees again after clicking 'publish item'.

I am not a coder... but this shouldn't be that hard to use/adjust the code (maybe use AI) from this plugin in order for us to provide our website users to reorder their images by simply dragging them (even when editing)?

I am requesting if someone can help me out with this slightly annoying problem that most of us Osclass users face...

Thanks!
Title: Re: Reorder Images
Post by: Demigosa on November 23, 2023, 06:32:33 PM
Hi, Did you find a solution for the reorder pictures?
Title: Re: Reorder Images
Post by: MB Themes on November 23, 2023, 10:26:58 PM
Update to Osclass 8.2.0
Title: Re: Reorder Images
Post by: Demigosa on November 24, 2023, 08:43:28 AM
I updated to 8.2.0 but the drag and drop reorder Images are not working. Apart from doing the update, what else should I configure?
Title: Re: Reorder Images
Post by: MB Themes on November 24, 2023, 08:47:38 AM
Try media settings.
Title: Re: Reorder Images
Post by: Demigosa on November 24, 2023, 05:32:03 PM
Now it is working, Thank You.
Title: Re: Reorder Images
Post by: MB Themes on November 25, 2023, 02:35:28 PM
Great :)