iphone – Are thumbnails for url link previews a risk?

I received a message from a friend with a link, i never clicked it but the thumbnail image shown which pretended to be an image preview for a YouTube video. Some of her other friends clicked it and it took them to a fake facebook page where it asked them for username and password. I always would prefer to disable such link previews such as you can in Safari on iPhone, but sadly in messenger there is no option. Obviously images can contain Malware and the fact an image displays means it has been processed by the Messenger App. What is the risk of Malware from a URL preview image that has not been clicked? just the preview that automatically displays in link shares?

I am not sure if these previews have risks such as steganography or pixel trackers linking to XSS attacks or any other risks?

macbook – How to view Sony A7S3 thumbnails on Mac OS?

Currently you can’t view Sony A7S3 thumbnails on Macs / Macbooks.

This might seem like a trivial issue, however, for those of us who do large volume shoots in our profession (I’m a real estate photographer)- this is major issue when it comes to efficient work-flow.

I shoot 5-brackets, an average of 300 brackets / photos per home, averaging four homes per day, five days per week. I have to get my photos sorted at the end of the day and then processed or uploaded to my editor so I can have them back to my clients next day. That’s 1500 photos per day, in which I have to choose the best 35 photos (175 brackets) to send to my clients. Without Finder, to have to load them in Lightroom, then click on each individual bracket within a set of five, – it could take hours. With using finder, you can split the window and quickly drag and drop to your upload folder. The entire process for one home is about 10 min vs 45 min. Any help or workaround ideas would be appreciated.

Currently you can’t view Sony A7S3 thumbnails on Macs / Macbooks

Currently you can’t view Sony A7S3 thumbnails on Macs / Macbooks.

This might seem like a trivial issue, however, for those of us who do large volume shoots in our profession (I’m a real estate photographer)- this is major issue when it comes to efficient work-flow.

I shoot 5-brackets, an average of 300 brackets / photos per home, averaging four homes per day, five days per week. I have to get my photos sorted at the end of the day and then processed or uploaded to my editor so I can have them back to my clients next day. That’s 1500 photos per day, in which I have to choose the best 35 photos (175 brackets) to send to my clients. Without Finder, to have to load them in Lightroom, then click on each individual bracket within a set of five, – it could take hours. With using finder, you can split the window and quickly drag and drop to your upload folder. The entire process for one home is about 10 min vs 45 min. Any help or workaround ideas would be appreciated.

plugins – WordPress – Some video thumbnails are not animated

I have this ?major? problem ,which i tried solving on my own for a few days, trying absolutely everything, without much success:

It is important to mention that the videos are embedded automatically through a plugin

I created a website, in wordpress, using tips and informations from here, but I have an issue with some of the videos, more exactly, the THUMBNAIL DOESN’T WORK ON SOME OF THEM…if I keep the arrow on some of the videos in the list, the thumbnail either doesn’t work at all, or, instead of being animated, I only get pictures..

I embed videos (for an adult website, even though other users should simply get interested in the problem, if their sites have it too, without taking in account what type of site it is) not images
The main problem on those videos seems to be that the video trailer url is not working-

When the url ends at .mp4, it works, it’s very important to mention that they start with “dw.rdtcdn”

When the url has something after .mp4, it doesn’t work and even if i delete what is after .mp4 it still doesn’t work , the urls that aren’t working start with “ev-ph.rdtcdn”…

If you enter only that link in the web search bar ,those that work as embedded thumbnails also work as simple links , those with, ev-ph .. won’t work this way either.. It actually says that ‘the request needs user authentication ..(so the urls might work, with access)

I also google some possible solutions , and the problem might come from the ‘-‘ (dash sign) ,more exactly the WP visual editor is messing it up ..? which might be because of some code in the plugins ,even though disabling them doesn’t solve anything..

jpeg – Why are thumbnails bad, when jpgs are good, with raw processed with darktable?

Your image contains an embedded color profile for “PQ Rec2020 RGB”. According to the Exif, Darktable appears to be the source of the profile. (See ExifTool output below.)

Some programs ignore embedded color profiles, which results in the washed out appearance of the thumbnails. For better results, select “sRGB (web-safe)” as the output profile for export. Be aware, there are two locations where the output profile may be set. One is set on a per image basis. The other is in the export options. Make sure they are both set correctly.

In the export settings, if you select “image settings” it should use whatever is set for each image. If you put something else, it would over-ride the image settings. Based on information you’ve provided at the Darktable github site, it appears the images were set for sRGB output, but the export was set for Rec2020, so Rec2020 over-rode the sRGB setting.

If you are meticulous about checking the per image settings, it would be fine to export to “image settings”. If you’re not sure, it’s safer to set it to “sRGB”. The only time I would use something else is for 16-bit TIFF output that I’d want to edit in another program. Then when done editing, I would still export to sRGB JPGs.

Another scenario in which it might make sense to export to a different profile is if you are absolutely certain all of your intended output devices are compatible with a different profile, and you either don’t care or are certain that everything else is properly color managed. If I were using 100% Apple devices and high-gamut monitors, I would consider using an Apple Display P3 profile, since that is what iPhone already uses by default. But it could cause problems similar to what you’ve experienced for non-Apple users (eg, images posted to social media).

If changing the output profile does not correct the issue, consider using a different raw-processing program, such as RawTherapee.

darktable sidebar
darktable export


Here is the output from ExifTool regarding the embedded profile of your image.

(ICC_Profile)   Profile CMM Type                : Little CMS
(ICC_Profile)   Profile Version                 : 2.1.0
(ICC_Profile)   Profile Class                   : Display Device Profile
(ICC_Profile)   Color Space Data                : RGB
(ICC_Profile)   Profile Connection Space        : XYZ
(ICC_Profile)   Profile Date Time               : 2020:09:23 19:05:34
(ICC_Profile)   Profile File Signature          : acsp
(ICC_Profile)   Primary Platform                : Apple Computer Inc.
(ICC_Profile)   CMM Flags                       : Embedded, Independent
(ICC_Profile)   Device Manufacturer             : 
(ICC_Profile)   Device Model                    : 
(ICC_Profile)   Device Attributes               : Reflective, Glossy, Positive, Color
(ICC_Profile)   Rendering Intent                : Perceptual
(ICC_Profile)   Connection Space Illuminant     : 0.9642 1 0.82491
(ICC_Profile)   Profile Creator                 : Little CMS
(ICC_Profile)   Profile ID                      : 0
(ICC_Profile)   Profile Description             : PQ Rec2020 RGB
(ICC_Profile)   Profile Copyright               : Public Domain
(ICC_Profile)   Media White Point               : 0.3127 0.32899 1
(ICC_Profile)   Chromatic Adaptation            : 1.04788 0.02292 -0.05022 0.02959 0.99048 -0.01707 -0.00925 0.01508 0.75168
(ICC_Profile)   Red Matrix Column               : 0.67348 0.27904 -0.00194
(ICC_Profile)   Blue Matrix Column              : 0.12505 0.04561 0.79684
(ICC_Profile)   Green Matrix Column             : 0.16566 0.67534 0.02998
(ICC_Profile)   Red Tone Reproduction Curve     : (Binary data 8204 bytes, use -b option to extract)
(ICC_Profile)   Green Tone Reproduction Curve   : (Binary data 8204 bytes, use -b option to extract)
(ICC_Profile)   Blue Tone Reproduction Curve    : (Binary data 8204 bytes, use -b option to extract)
(ICC_Profile)   Chromaticity Channels           : 3
(ICC_Profile)   Chromaticity Colorant           : Unknown (0)
(ICC_Profile)   Chromaticity Channel 1          : 0.70799 0.29201
(ICC_Profile)   Chromaticity Channel 2          : 0.17 0.797
(ICC_Profile)   Chromaticity Channel 3          : 0.131 0.04601
(ICC_Profile)   Media Black Point               : 0 0 0
(ICC_Profile)   Device Model Desc               : PQ Rec2020 RGB
(ICC_Profile)   Device Mfg Desc                 : Darktable

jpeg – good jpg, bad thumbnails got from it

I’m using darktable to process my raw photos and save the final jpg’s. I’m on ubuntu linux.

From some of the jpg’s, gthumb gets thumbnails which are far lighter than the original jpg, and the same problem happens with nautilus and with the pillow python library.

Here is one of the photos, hoping to understand what’s the problem with it.This jpg appears to be good, but thumbnails got from it are lighter than the original jpg

Here is how the thumbnail looks like:

lighter thumbnail

post thumbnails – How can I do a video for featured image in woocommerce

There are variety of plugins available for such tasks, you can just install one that suit your needs for free from the wordpress.org plugins repo e.g. – https://wordpress.org/plugins/search/Woocommerce+featured+video/

Or you can buy from stores such as Codecanyon.net by Envato – https://codecanyon.net/search/woocommerce%20featured%20video

Just go through the list and you’ll have a complete rundown of how they work and which one suits your needs.

IMO: This will do good enough for your given task https://wordpress.org/plugins/yith-woocommerce-featured-video/

Hope this helps :]

Woocommerce Product Image and Thumbnails custom function

I am looking to edit the WooCommerce product images and thumbnails.

My goal is to add an attribute to the <a> tag.I want to add: data-lightbox="Gallery", but I cannot see how can I do this.
The template files seem the obvious place but the code doesn’t have the anchor code structure I was hoping for:

woocommercesingle-productproduct-image.php

defined( 'ABSPATH' ) || exit;

// Note: `wc_get_gallery_image_html` was added in WC 3.3.2 and did not exist prior. This check protects against theme overrides being used on older versions of WC.
if ( ! function_exists( 'wc_get_gallery_image_html' ) ) {
    return;
}

global $product;

$columns           = apply_filters( 'woocommerce_product_thumbnails_columns', 4 );
$post_thumbnail_id = $product->get_image_id();
$wrapper_classes   = apply_filters(
    'woocommerce_single_product_image_gallery_classes',
    array(
        'woocommerce-product-gallery',
        'woocommerce-product-gallery--' . ( $product->get_image_id() ? 'with-images' : 'without-images' ),
        'woocommerce-product-gallery--columns-' . absint( $columns ),
        'images',
    )
);
?>
<div class="<?php echo esc_attr( implode( ' ', array_map( 'sanitize_html_class', $wrapper_classes ) ) ); ?>" data-columns="<?php echo esc_attr( $columns ); ?>" style="opacity: 0; transition: opacity .25s ease-in-out;">
    <figure class="woocommerce-product-gallery__wrapper">
        <?php
        if ( $product->get_image_id() ) {
            $html = wc_get_gallery_image_html( $post_thumbnail_id, true );
        } else {
            $html  = '<div class="woocommerce-product-gallery__image--placeholder">';
            $html .= sprintf( '<img src="%s" alt="%s" class="wp-post-image" />', esc_url( wc_placeholder_img_src( 'woocommerce_single' ) ), esc_html__( 'Awaiting product image', 'woocommerce' ) );
            $html .= '</div>';
        }

        echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', $html, $post_thumbnail_id ); // phpcs:disable WordPress.XSS.EscapeOutput.OutputNotEscaped

        do_action( 'woocommerce_product_thumbnails' );
        ?>
    </figure>
</div> 

and the thumbnails is the same.

woocommercesingle-productproduct-thumbnails.php

defined( 'ABSPATH' ) || exit;

// Note: `wc_get_gallery_image_html` was added in WC 3.3.2 and did not exist prior. This check protects against theme overrides being used on older versions of WC.
if ( ! function_exists( 'wc_get_gallery_image_html' ) ) {
    return;
}

global $product;

$attachment_ids = $product->get_gallery_image_ids();

if ( $attachment_ids && $product->get_image_id() ) {
    foreach ( $attachment_ids as $attachment_id ) {
        echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', wc_get_gallery_image_html( $attachment_id ), $attachment_id ); // phpcs:disable WordPress.XSS.EscapeOutput.OutputNotEscaped
    }
}

I assume I need to use filter, but I haven’t used this before. Or do I remove the action for the image and thumbnails and add my own function?

remove_action( 'woocommerce_product_thumbnails', 'woocommerce_show_product_thumbnails', 20 );
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );

function my_plugin_show_product_image() {
// my custom image code where i can use my own attributes, div structure etc
// i have no idea what php is required to show the images
}

add_action( 'woocommerce_product_thumbnails', 'my_plugin_show_product_image', 20 );

function my_plugin_show_product_image() {
// my custom image code where i can use my own attributes, div structure etc
// i have no idea what php is required to show the images
}

add_action( 'woocommerce_before_single_product_summary', 'my_plugin_show_product_image', 10 );

Any ideas?

Image thumbnails blury on mobile search results

I am having an issue with an image appearing extremely blury on google search results. The original image is not small and is not blury yet it is hardly recognisable in the search. Please does anyone have any insight into this. Its from a wordpress site and using Imagify as a compression tool.

!]1

post thumbnails – Show a default image

Create “images” folder in current active theme the put “default-image.jpg” in that folder.

<?php  
if ( has_post_thumbnail( ) ) {
  echo get_the_post_thumbnail( $page->ID, 'image' );
} else { ?>
<img src="<?php echo get_template_directory_uri().'/images/default-image.jpg'; ?>"/>
<?php } ?>

Use path according to the theme (parent or child).