19 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United States
schmackLab says

Does anyone know how to provide an image uploader in the theme options page?

I am building a single page portfolio theme and currently the user would have to create a new post for each item in the portfolio and them add meta tags to the thumbnail and the fullsize image manually.

I’m just looking for a more dummy proof way of setting this up.

Thanks

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+2 more
digitalimpact says

Why not use the media upload in the write post? And combine it with the post_thumbnail?

I think it’s better to use the media manager of WP instead of having an image uploader custom built in theme options…

You could also do it with custom fields, but to keep things simple, I wouldn’t recommend it.

688 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
_rg_ says

i´m looking for same thing.. if i findd how, i´ll share it.

688 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
_rg_ says

I think i´m gonna use something like this:

http://www.tizag.com/phpT/fileupload.php

Inside a theme options page, or a widget dashboard.

19 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United States
schmackLab says

@digital There’s nothing wrong with your method but the site I’m building is a fairly basic single page portfolio and I want to try and make the whole thing dummy proof by giving the user one place to populate and edit all of their content. I realize it’s not necessary but it’s worth learning how to do right?

Thanks arriba that looks like a good place to start.

688 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
_rg_ says

what you need then, is magic fields plugin…. just take a deep look at it and you will realise, you can do exactly that.

For examnple you can remove the Entries and Pages buttons and leave ony one you created.

You can create custom pages or post, even removing the post textarea… there you could create panels with textareas, imageuploaders, selectables and all kind of form pieces, and also, they can be duplicables.

Realy, there is your solution for sure.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by