• I’m using

    I have some problem with image custom field.
    Uploader doesn’t work normal – see attached image

    First picture is allready uploaded by standart media uploader, but here no preview – I must click to Show/Hide to see image. What if there a lot of images!?

    And there is no way to edit image properties in this uploader.

    Is this problem only to me or this is right functionality of this field?
    Is it possible to make this box to work like core media uploader in future versions?

    http://ww.wp.xz.cn/extend/plugins/custom-content-type-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Hmm…

    I really tried to make this use WP’s built-in uploader, but the code used by WP is really really awful and it could not be extended or customized, so I copied it as best I could. But the more I look at it, the more I think I should write something better than what WP uses. This part of the plugin is the next thing I want to clean-up/improve.

    Yes, there is no way of editing image properties in the CCTM uploader because it simply adds images to WP’s Media section and then links to it. It’s the same as when you use a relation field: you link to another existing post, you can’t edit the other post from the custom field, you have to go to the actual post or page to edit its attributes. Images/media/videos etc. are all just “attachment” posts, so you have to edit their properties under WP’s “Media” menu.

    As for the broken images…. Did you move your site between servers or something? WP stores the *full* path to an image, e.g. http://devsite.com/path/to/image.jpg, so if you copy your site over to a new domain name (e.g. http://prodsite.com/), all your image paths break. This is a limitation of WordPress itself, and it might be what’s causing you trouble. Or maybe you have WP installed in a non-standard directory or do you have your upload path somewhere other than wp-content/uploads?

    Could you give me access to your site so I can see what’s going on?

    Thread Starter bogdandimitrov

    (@bogastyle)

    Thank You fireproofsocks for answer. I understand!

    My site is still local. I just started create theme and structure!
    But I can give you access to take a look if You want! I have static IP.
    My skype is bogastyle_the_original add me and I’ll provide you admin access.

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Hmm… I tried installing this inside a sub directory like you have on your local server, but my image paths still worked. I did fix a couple other random bugs in there, so you might want to try the 0.9.4.3-dev version on http://wpcctm.com/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Custom Content Type Manager] About Image custom field’ is closed to new replies.