• Resolved coreylee

    (@coreylee)


    I need to list app icon in the archive page. This plugin generates many images when a new post was created. Can you give me the PHP API (such as $appStoreimage_list;) that display the following images? Maybe you already list them, but I cannot find them. Thanks a lot.
    asaArtwork_element.png
    asaArtwork_iso.png
    asaArtwork_list.png
    asaArtwork_post.png

    https://ww.wp.xz.cn/plugins/app-store-assistant/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SEALsystems

    (@sealsystems)

    The easier way is to reference them directly. It always uses the paths below. Just replace the PATH_TO_WORDPRESS_UPLOADS with your Uploads directory and APP_ID with the specific App’s ID. Keep in mind that the files may not always be “png” files, so I would check for jpg, jpeg, tiff and tif suffixes. You can use the <?php $upload_dir = wp_upload_dir(); ?> to get the first part.

    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/artworkOriginal_60.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/artworkOriginal_100.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/artworkOriginal_512.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/asaArtwork_element.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/asaArtwork_featured.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/asaArtwork_ios.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/asaArtwork_list.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/asaArtwork_post.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/asaArtwork_rss.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/asaArtwork_widget.png
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ios_ss_0.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ios_ss_1.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ios_ss_2.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ios_ss_3.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ios_ss_4.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ipad_ss_0.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ipad_ss_1.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ipad_ss_2.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ipad_ss_3.jpeg
    /PATH_TO_WORDPRESS_UPLOADS/appstoreassistant_cache/AppStore/APP_ID/ipad_ss_4.jpeg
    Thread Starter coreylee

    (@coreylee)

    Hi sealsystems,

    Thanks a lot.

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

The topic ‘PHP API for list, post…. images’ is closed to new replies.