• Resolved ontario777

    (@ontario777)


    Hi there,
    thank you for the plugin.

    However there are 2 questions:
    1. As I found the function isc_image_source($image_id) prints data to the page content directly, is there an option to get
    Image Source URL
    Image Source
    to manage it inside my template?

    2. Please add rel=”external nofollow noopener noreferrer” instead of rel=”nofillow”, it is google safety standards.

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi @ontario777,

    thanks for your suggestions!

    1. The next release of ISC is going to contain a few public-usable functions to get image-specific information. They are already added to the version on github. See the bottom of isc.class.php.

    You could then use ISC_Class::get_image_source_url( $image_id );.
    I would appreciate it if you could test that version from github and let me know if it works for your use case.

    2. Thanks, I will look closer into all attributes and consider it.

    Thomas

    Thread Starter ontario777

    (@ontario777)

    Thank you for the fast reply.

    However as one more suggestion could be one more version of the plugin, let’s say “lite” or even drop-in, not a plugin:
    Just extension for Media to save source and source URL’s to media library, and a class to extend basic WP image metadata for the front-end.

    It would be light and vey useful, especially if the webmaster does not need to keep/ show the list of all media on the page to show it separately.

    Plugin Author Thomas Maier

    (@webzunft)

    Hi @ontario777,

    thanks for your follow-up.

    I want to make sure I fully understand.

    Are you asking for some kind of interface to update image source data for individual images in the WordPress frontend?

    Thanks,
    Thomas

    Thread Starter ontario777

    (@ontario777)

    Hi,

    Im wrote about that as I see in many cases the most useful thing would be:
    1. back-end: extend basic WP image class
    2. admin panel: adding image source data and URL in media
    3. front-end: retrieve source data for individual images and (much better) return it as additional part of the image object

    Thanks
    Vladimir

    Plugin Author Thomas Maier

    (@webzunft)

    Hi Vladimir,

    thanks for your reply.

    I am still not 100% sure I fully understand what you are asking.

    If you ask for changes or additions to an API, could you give specific examples? What would the code that you would use look like?

    Thanks,
    Thomas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sugestion’ is closed to new replies.