The Cover Project

General Category => General Discussion => Topic started by: PX0 on May 20, 2021, 01:19:56 PM

Title: MediaFire changes (no more previews)
Post by: PX0 on May 20, 2021, 01:19:56 PM
MediaFire seems to change for the worse yet again...

As of today (?) I can no longer generate preview links. When clicking on the share button, it only shows a direct link to the image and options for various social media platforms. There is no more option for forums (with a preview image).

Am I missing something? Or does somebody know of a workaround?

(http://i.imgur.com/B55orV7m.png) (https://imgur.com/B55orV7)
Title: Re: MediaFire changes (no more previews)
Post by: Tech13 on May 20, 2021, 03:27:13 PM
Me just testing
(https://www.mediafire.com/view/8hlplmldadi07d0/IMG_20190617_221537_896.jpg/file)
Old
(https://www.mediafire.com/convkey/510a/2g21gj6b4lp76wq4g.jpg) (http://www.mediafire.com/view/?2g21gj6b4lp76wq)
New test
(https://www.mediafire.com/convkey/13a9/8hlplmldadi07d0zg.jpg?size=20) (http://www.mediafire.com/view/8hlplmldadi07d0)
2nd test
(https://www.mediafire.com/convkey/13a9/8hlplmldadi07d0zg.jpg?size=auto)

Kinda found a workaround but I am unable to force a resize.

Woo Hoo I found it.
ok so you want this ["img width=500 height=500]Paste The image URL Here[/img"] All without the quotes

Can we change the Default image insert to img width=500 height=500 ?
Title: Re: MediaFire changes (no more previews)
Post by: TDIRunner on May 20, 2021, 04:00:34 PM
I noticed the same thing this morning.  I could not figure out how to imbed an image into a forum.  What am I missing?  What are you doing as your "work around?"
Title: Re: MediaFire changes (no more previews)
Post by: TDIRunner on May 20, 2021, 07:10:39 PM

Woo Hoo I found it.
ok so you want this ["img width=500 height=500]Paste The image URL Here[/img"] All without the quotes

Can we change the Default image insert to img width=500 height=500 ?


You might want to put this in a separate post.  I almost missed it since the enormous size of the example pic almost causes you to not see it.
Title: Re: MediaFire changes (no more previews)
Post by: TDIRunner on May 20, 2021, 07:18:36 PM
I figured out how to do it by looking your posts, but shit, it sure is a pain in the ass to do it now.


(https://www.mediafire.com/convkey/1106/3qxkg31vgu14x8rzg.jpg)



Title: Re: MediaFire changes (no more previews)
Post by: Arseen on May 20, 2021, 07:23:10 PM
My best explanation:
(https://www.mediafire.com/convkey/2db5/kr0cz0vdqqh861r6g.jpg) (https://www.mediafire.com/view/kr0cz0vdqqh861r)

Preview linking seems to work, the link just has to be build by oneself.
Click quote to to see how I changed the link.

This is the link you get by clicking copy link: https://www.mediafire.com/view/9vz56k95rdlz2zt/Poliisit_2019.jpg/file

This is an old working preview link: (https://www.mediafire.com/convkey/2db5/kr0cz0vdqqh861r6g.jpg) (https://www.mediafire.com/view/kr0cz0vdqqh861r)

Yould need to insert 2 parts of the the copied link in to it.
1: Part of the url after URL= between the [] marks.
2: Insert short part of the link after the /convkey/2db5/. Note the added 6g, it tells the preview size (can be between 1g (minimal) and 7g (huge)) and .jpg. 

This is an old working preview link: (https://www.mediafire.com/convkey/2db5/9vz56k95rdlz2zt6g.jpg) (https://www.mediafire.com/view/9vz56k95rdlz2zt)

Compare the two share links to see what and how I changed.
Title: Re: MediaFire changes (no more previews)
Post by: PX0 on May 21, 2021, 04:24:06 AM
My best explanation:
Preview linking seems to work, the link just has to be build by oneself.

[...]

Yould need to insert 2 parts of the the copied link in to it.
1: Part of the url after URL= between the [] marks.
2: Insert short part of the link after the /convkey/2db5/. Note the added 6g, it tells the preview size (can be between 1g (minimal) and 7g (huge)) and .jpg. 

Thank you all, for your replies. :)

I tried looking at old preview links, yesterday, to figure out a pattern, but I got confused by the four digits ("2db5" in your case) after "convkey".
I could not figure out how they relate to the image and they seem to be different for everyone of them.

But you are right. You can just insert the four digits from another image to make it work:

https://www.mediafire.com/convkey/13a9/zu8o1hh9o72kvhv5g.jpg

https://www.mediafire.com/convkey/2db5/zu8o1hh9o72kvhv5g.jpg


Actually, after playing around with them for a bit, it seems that almost any number works. (It does not even have to be four digits.):

https://www.mediafire.com/convkey/1234/zu8o1hh9o72kvhv5g.jpg

https://www.mediafire.com/convkey/1/zu8o1hh9o72kvhv5g.jpg

https://www.mediafire.com/convkey/1111111111111111111111111111111111111/zu8o1hh9o72kvhv5g.jpg
Title: Re: MediaFire changes (no more previews)
Post by: Tech13 on May 21, 2021, 07:02:50 AM
Woo Hoo I found it.
ok so you want this ["img width=500 height=500]Paste The image URL Here[/img"] All without the quotes

Can we change the Default image insert to img width=500 height=500 ?
Title: Re: MediaFire changes (no more previews)
Post by: Arseen on May 21, 2021, 10:52:16 AM
Actually, after playing around with them for a bit, it seems that almost any number works. (It does not even have to be four digits.):
Yep, I was just trying to keep the changing to minimum.
Title: Re: MediaFire changes (no more previews)
Post by: ShoothimNow on May 21, 2021, 11:08:07 AM
Why do width and height?  I usually only do like... width=1000 (to fill the screen).  That way it's not a square lol.

width=500
(https://coverproject.sfo2.cdn.digitaloceanspaces.com/playstation_2/ps2_finalfantasyx.jpg)

width=500 and height=500
(https://coverproject.sfo2.cdn.digitaloceanspaces.com/playstation_2/ps2_finalfantasyx.jpg)
Title: Re: MediaFire changes (no more previews)
Post by: PX0 on May 21, 2021, 12:25:29 PM
Woo Hoo I found it.
ok so you want this ["img width=500 height=500]Paste The image URL Here[/img"] All without the quotes

Can we change the Default image insert to img width=500 height=500 ?

Thank you, that is good to know. :)
I was not aware that you can further specify the image size within the bbcode.

It does not really work in this case though, because the link (https://www.mediafire.com/view/zu8o1hh9o72kvhv/Darkvoid_%2528Xbox_360%2529_%2528CoverGalaxy.com%2529.jpg#) you get from MediaFire does not work with the [img] bbcode.

You would still have to modify the link manually to look like the old preview links.

Yep, I was just trying to keep the changing to minimum.

I googled some more and found some documentation of MediaFires image conversion.
Apparently the number after "convkey" is supposed to be the first four digits of the images hash key.

https://www.mediafire.com/developers/multimedia_api/images/

I figured out how to do it by looking your posts, but shit, it sure is a pain in the ass to do it now.

I agree. :(
There is also no telling how long this workaround might work.

Maybe it is time to look for an alternative. Does anyone know of a similar image / file hoster with a preview function (or direct links to uploaded images)?
Title: Re: MediaFire changes (no more previews)
Post by: ShoothimNow on May 21, 2021, 04:23:13 PM
There is also no telling how long this workaround might work.

It's not really a workaround.  It's HTML / PHP code.  The only way it's going away is if SnowCone updates the forums to completely remove it.  And after 15 years of not changing the backend, I don't see it being a problem.  width=___ and height=___ is always a thing I use.

The only difference now is that if you have poor internet... the full image is loaded.  So if you post 100+ photos using the html resizing code... whoever views the page is viewing 100+ photos at the full size they are rendered.  If each photo is 5MB each, prepare for some loading time lol.
Title: Re: MediaFire changes (no more previews)
Post by: rockabilly1983 on June 01, 2021, 11:37:56 PM
I was having so much trouble inserting preview images when I was posting my two Harry Potter covers for Game Boy Color on May 29, 2021. When I found out that MediaFire removed the "Direct Link" option, that made me really angry. I even ranted about it in my Game Boy cover post. I looked at Arseen's example. I even looked at my previous cover posts to check the link source. I edited the link source and finally, the preview images came up. I can't tell you how stoked I am! I can sleep better now that I know what to do. I'm going to show you what I did. I made these instructions as simple as I could. I'm going to use my cover of Harry Potter and the Sorcerer's Stone as an example:

First, click "Insert Image" (http://www.thecoverproject.net/forums/Themes/MinDI/images/bbc/img.gif) to get the ["img"] ["/img"] brackets.

Go to MediaFire and click on the options for your file. It's located on the far right and it consists of three vertical dots. Click "Share", and then click "Copy Link". Paste the link here using Ctrl+V on the keyboard. This is the link you will be given:
https://www.mediafire.com/view/ix6vrucaw0z6pj9/GBC_Harry_Potter_and_the_Sorcerer%2527s_Stone_%2528USA%2529_CGC.png/file

To make a preview image, we need to edit the link. Delete the file name from the link first. This is what you need to get started:
https://www.mediafire.com/view/ix6vrucaw0z6pj9

Next, change "view" to "convkey". Add another forward slash with "2db5". You can also use any four letters or numbers you want. At the end of the link, add "6g.jpg". This is what the link should now look like:
https://www.mediafire.com/convkey/2db5/ix6vrucaw0z6pj96g.jpg

Last, but not least, put the link in between the ["img"] ["/img"] brackets. Don't use quotation marks inside the brackets. Voila! Now you have a preview image in your forum post. Yay!

If you have any questions, please let me know.

My Covers: https://app.box.com/s/hote51vbfehfqo0yu5j0
Title: Re: MediaFire changes (no more previews)
Post by: marioxb on June 05, 2021, 06:00:06 PM
Why do width and height?  I usually only do like... width=1000 (to fill the screen).  That way it's not a square lol.

width=500
(https://coverproject.sfo2.cdn.digitaloceanspaces.com/playstation_2/ps2_finalfantasyx.jpg)

width=500 and height=500
(https://coverproject.sfo2.cdn.digitaloceanspaces.com/playstation_2/ps2_finalfantasyx.jpg)

I can't believe that no one else commented and or agrees with you. That's always how I do my previews. Just enter ONE dimension, so you don't end up with a stupid looking square, like some of the previews in the "look what I got" threads.