Change Upload Template


#1

Using the uploader shortcode, is there anyway to change the upload template?? I can’t seem to be able to edit it the way I want, I want to remove the little pencil that makes the more info appear and just make the more info appear by default.


#2

Hello @RedZephon,

There is not any direct option available to do this. However, you can add custom code for yourself to achieve this.

You can refer this sample code here - https://gist.github.com/pranali333/3ec55040c9ead9c1a2dbdb13761f8036

Try adding it to your theme’s functions.php file.

I hope it will help you. Thank you, Pranali


#3

I tried the code you provided but its just removing the whole upload form now. @pranalipatel


#4

@RedZephon

Where have you added that code? Make sure it’s in current theme’s functions.php file (maybe at the end of file). I tried that same code on my test website and it’s working fine. Screenshot attached.


#5

I pasted the code to the bottom of the functions.php, see pastebin

The whole page shows blank as seen here: meanwhileinsask.ca/submit-photo

http://pastebin.com/jPPfhKSW


#6

Hello @RedZephon,

The code suggested earlier should not cause the blank page issue. Could you please once check if it is working fine by removing the given code?

Thanks.


#7

I got it working, now I have a new issue. See screenshot, is there anyway to make it use the actual resolution instead of a downsized one that isn’t blurry??


#8

Hello @RedZephon,

You can set the media thumbnail size from the rtMedia admin settings. You will see different media types as categories under Media Sizes tab.

Try to change thumbnail size for photos as per the media size of your images and check if that works for you.

Related document link - https://rtmedia.io/docs/settings/image-sizes/

Thanks.


#9