Viewing 7 replies - 1 through 7 (of 7 total)
  • hi, can you give a sample link which doesn’t work? is it a local computer link or a link from the wp media library?

    Thread Starter raskull

    (@raskull)

    This is in admin. When I want to insert a category image, I press the Choose/Upload Image button and get the window. I choose from computer or from media library — it doesn’t matter. If I set Link URL to None then hit Insert into Post, the image is fine (uploads if from computer or takes edits if not) and I am back on the Category screen. However the text input next to the Choose/Upload Image button remains empty, and no image is associated with the category.

    If I want the Link URL to be None, I resort to manually putting in the image path in the text input on the Category screen.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    maybe you have a plugin/theme conflict, try deactivating your other plugins (and/or try the 2011 theme) and see if it still happens to you.

    Thread Starter raskull

    (@raskull)

    twenty eleven, no other plugins. It appears you are pulling link url instead of file url, so if link url is left blank there is nothing to pull to the text input for image url on the category admin page. try it.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    but link URL should not be blank, that’s a WP bug then (but it works for most), we don’t actually control any aspect of that upload field, it’s a WP-handled function/field.

    Thread Starter raskull

    (@raskull)

    These are the WP options for Link URL: None, File URL, Attachment Post URL.

    Upshot: Select None if you don’t want your image to have a Link URL.

    What WP says: The URL/web address to which the image will be linked. Click the File URL button to link the image to its original, full-size version. Click the Post URL button to have the image linked to its attachment page.

    Translation: http://om4.com.au/removing-post-url-wordpress/

    It’s not a big deal — I found a workaround for your implementation — but if you follow the steps that I outlined above you will see why you would want to populate the text input with File URL instead of Link URL; if the user has selected None in the WP media dialog, your interface fails.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I’d consider this more a WP interface bug. The interface is the same for when inserting an image into a post or even a featured image, yet all three are for different things. Here, all you want is the file url because you’re uploading an image, nothing else. Resizing etc. would be done later.

    Alternatively, you can just copy/paste your desired page url.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Events Manager] Bug: Insert category image not working when link url = none’ is closed to new replies.