WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.92k stars 972 forks source link

Thumbnails different sizes #7825

Open gbrn opened 1 year ago

gbrn commented 1 year ago

@DanielnetoDotCom The gallery images became misaligned after the last updates. Thumbnails with different sizes. These images below are available for a long time, not a recent upload. Some alteration made the clipping of the images look different.

https://cnetv.com.br/videos/video_220228221716_v3488/video_220228221716_v3488_portrait_thumbsV2.jpg

image

gbrn commented 1 year ago

@DanielnetoDotCom I just need to take the test you asked for. What is the correct command to clear all thumbs?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

gbrn commented 7 months ago

@DanielnetoDotCom Danny, this problem for me has never been solved. Thumbnails are always out of order. And now in these latest updates the problem has gotten worse. It's even cutting out the titles of the videos. Check out the image below:

image

DanielnetoDotCom commented 7 months ago

I need to be able to reproduce it,

For example this does not happen with me here https://flix.avideo.com/

gbrn commented 7 months ago

Another problem concomitant with this is that it does not show other categories, only "Most watched".

gbrn commented 7 months ago

@DanielnetoDotCom I think this problem has to do with the presets you defined for the image size. But here for me, the system does not have a size limit and does not automatically reduce the image. I've had this problem for over 1 year! I don't know what to do anymore.... I need to know... is there a maximum and minimum size for the image? Can the system actually make an automatic adjustment?

DanielnetoDotCom commented 7 months ago

Another problem concomitant with this is that it does not show other categories, only "Most watched".

Did you enable it in the plugin?

gbrn commented 7 months ago

Did you enable it in the plugin?

If it is the PredefinedCategory plugin, it has always been enabled.

image

gbrn commented 7 months ago

@DanielnetoDotCom Look... what I'm doing now: 1- I installed a new Ubuntu 22.04, MYSQL, PHP 8.3 server in a new location, completely isolated from the current server. To exclude any type of problem you may have with infrastructure. 2- Installing the new AVIDEO. 3- I cloned the master site, only copied the database.

And to my surprise the problem continues. There is no image at the moment, because there is no image or video on the new server. Check that the titles of the videos are already cut. I tested other browsers and the problem persists. Categories are also not displayed.

This just tells me that it is either a problem in the code or in the configuration of a plugin. Can you tell me if there is any specific configuration that I am not seeing?

See the video:

https://github.com/WWBN/AVideo/assets/37880073/2e317314-292a-498e-9b25-fdf4f2b9acf4

DanielnetoDotCom commented 7 months ago

please focus on only one issue here, if you have different issues open multiple tickets

if you still have the category issue, open a new ticket

regarding the image, please share one image here I will try to reproduce on my side

gbrn commented 7 months ago

@DanielnetoDotCom Sorry, the problem is relating to the same context as the home page. But I'm going to open a new issue about the categories problem. I try to be as organized as possible with open issues.

Let's go about Thumbnails. Check that the text is cutting, even if you don't define any image. image

DanielnetoDotCom commented 7 months ago

Why this is not happening here ?

https://flix.avideo.com/

gbrn commented 7 months ago

A good question!

It's not a problem on my computer, nor does the browser... on my cell phone it appears the same way. I ask... is there a setting in any of the plugins that changes this? It must be some strange configuration...

DanielnetoDotCom commented 7 months ago

image

gbrn commented 7 months ago

OK! I saw your website... I don't know what is enabled on this installation. You know much better than me, that there are several settings that can be made that can change the layout and so on. For example, on your website, accessibility is not enabled! Which changes the home page. I'm not saying this is the problem. I'm working hard to keep things stable here.

DanielnetoDotCom commented 7 months ago

image

gbrn commented 7 months ago

Follow the images. The thing is, I discovered even with the default system image, there is a problem with the text limit, as I showed above.

The following images were processed by the system some time ago, see that the file name is _portrait_thumbsV2:

image

Below are the images that have already been processed by the system: https://cnetv.com.br/videos/_YPTuniqid_60a67e8e8cd761.45426324/_YPTuniqid_60a67e8e8cd761.45426324_portrait_thumbsV2.jpg https://cnetv.com.br/videos/video_220109134028_ve085/video_220109134028_ve085_portrait_thumbsV2.jpg https://cnetv.com.br/videos/_YPTuniqid_60a665fda7b5a3.10114302/_YPTuniqid_60a665fda7b5a3.10114302_portrait_thumbsV2.jpg https://cnetv.com.br/videos/video_220601112439_v3cb6/video_220601112439_v3cb6_portrait_thumbsV2.jpg https://cnetv.com.br/videos/_YPTuniqid_60d3e002cc3547.56535483/_YPTuniqid_60d3e002cc3547.56535483_portrait_thumbsV2.jpg

DanielnetoDotCom commented 7 months ago

Please check this update, and make sure you clear the cache

gbrn commented 7 months ago

@DanielnetoDotCom Danny, check the change here. Thumbnails text issue has been fixed. Thanks for resolving this issue. But the images have been readjusted. How can this be resolved?

image

gbrn commented 7 months ago

@DanielnetoDotCom Danny, I believe the biggest issue of the misalignment of the images has been resolved... and also the title cropping has been resolved. Now the problem of the correct size of the images we need to define a standard. We have already discussed problems with correct image size in this issue. Can we reach a consensus on what the standard used is?

The website themoviedb.org, which uses thumbnails in vertical/portrait format: image

They work with the following standard: Width × 1.5 = Height Height ÷ 1.5 = Width image

This "Aspect ratio of 1:1.5 (2:3)" is very important for the standard of the images. This FAQ has more detailed information: https://www.themoviedb.org/bible/image/59f7582c9251416e7100005f

gbrn commented 7 months ago

@DanielnetoDotCom Analyzing the default image video-placeholder-gray-portrait.webp, I verified that this image already has an Aspect ratio of 1:1.5 (2:3). So I believe the problem is with the image input. I don't understand this process... whether the image must already be in a specific format or the system makes a size correction. Can you tell me more about this?

image

gbrn commented 6 months ago

@DanielnetoDotCom Despite your efforts to solve these Thumbnails problems... it still exists... The images after uploading are incorrectly cropped. Cutting the poster, sometimes parts of the text or a face on the poster. Check this out please...

@DanielnetoDotCom Danny, check the change here. Thumbnails text issue has been fixed. Thanks for resolving this issue. But the images have been readjusted. How can this be resolved?

image

DanielnetoDotCom commented 6 months ago

can you cut the image in the correct aspect ratio before uploading it?

gbrn commented 6 months ago

Yes, I could add this extra work, transform the images exactly 1:1.5 (2:3). But, that's why I ask... doesn't the system have a script to correct the images? I don't understand how this processing works.

DanielnetoDotCom commented 6 months ago

Hi

For sure I will review this in the future, I just cannot do it now.