html – image map not working, could this be because of the image size?

.container {
  width: 1500px;
  height: 100%;
  margin: auto;
}

.container>div {
  margin: auto;
  width: 1200px;
  height: 100%;
}

img {
  width: 1200px;
  height: auto;
  margin: auto;
}
<div class="container">
  <div class="intro">
    <img src="https://placehold.it/1913x6360" alt="" usemap="article">
    <map name="article">
                <area shape="poly" coords="13.81, 154.51, 20.00, 154.55, 20.00, 156.51, 12.70, 156.51" href="#" alt="">
                <area shape="poly" coords="12.27, 170.0, 18.41, 170.0, 18.41, 170.0, 11.16, 170.0" href="#" alt="">
            </map>
  </div>
</div>

magento2 – Do not save youtube video when add video to product image

I completely create Youtube API key and paste to Store > Configuration > Category > Category > Youtube API key but when i add video it doesn’t generate preview image automatically and i can’t click Save button.
If i refresh browser after paste youtube URL, the admin page goes 503 varnish error.

Does any one have same question?
enter image description here

8 – Overwrite field description in an image widget

I have an image field (multiple).

In the node form, the ImageWiget has a process method that adds previews and form fields for images that have already been uploaded.

The description for the title tag is hard-coded on line 278: '#description' => t('The title is used as a tool tip when the user hovers the mouse over the image.'). We are actually showing the title as a caption and not a tooltip.

How can I override the description?

magento2.3 – product image not showing in product page with rapiddive fiximage plugin

Thanks in advance for helping.

I’m using github rapiddive/fiximage extension to display images avoiding cache wich is perfect for my whole site but the product page. I’ve got hundreds of thousands of porducts and millions of images so caching is not reliable for me.
Still novice in theme creation so i’m trying to find a hint to investigate and solve this issue.

where it has to be image product and path there’s some code starting with <div><div>

Since, for example, catalogsearch image is showing with no problem at all is it possible to change the way productpage make the call to image? Every product has only one image and i really don’t care to have a gallery for that.

Here’s the error:

<div class="gallery-placeholder _block-content-loading" data-gallery-role="gallery-placeholder"><img alt="main product photo" class="gallery-placeholder__image" src="https://www.scontolibri.com/pub/media/catalog/product</div></div><script type=" text="" x-magento-init"="">{"(data-gallery-role=gallery-placeholder)":{"mage/gallery/gallery":{"mixins":("magnifier/magnify"),"magnifierOpts":{"fullscreenzoom":20,"top":"0","left":"-300","width":"300","height":"300","eventType":"hover","enabled":false},"data":({"thumb":"https://www.scontolibri.com/pub/media/catalog/product//imgean/g/6/1/7/4/9788830104716g.jpg","img":"https://www.scontolibri.com/pub/media/catalog/product//imgean/g/6/1/7/4/9788830104716g.jpg","full":"https://www.scontolibri.com/pub/media/catalog/product//imgean/g/6/1/7/4/9788830104716g.jpg","caption":"Il signore degli anelli - Tolkien John R. R.","position":"1","isMain":true,"type":"image","videoUrl":null},{"thumb":"https://www.scontolibri.com/pub/media/catalog/product//imgean/p/6/1/7/4/9788830104716p.jpg","img":"https://www.scontolibri.com/pub/media/catalog/product//imgean/p/6/1/7/4/9788830104716p.jpg","full":"https://www.scontolibri.com/pub/media/catalog/product//imgean/p/6/1/7/4/9788830104716p.jpg","caption":"Il signore degli anelli - Tolkien John R. R.","position":"1","isMain":false,"type":"image","videoUrl":null}),"options":{"nav":"thumbs","showCaption":0,"width":600,"height":600,"thumbwidth":80,"thumbheight":80,"transition":"slide","navtype":"slides","navdir":"horizontal","thumbmargin":5,"loop":true,"keyboard":true,"arrows":true,"allowfullscreen":true,"transitionduration":500,"navarrows":true},"fullscreen":{"nav":"thumbs","navdir":"horizontal","navtype":"slides","transition":"slide","loop":true,"arrows":true,"transitionduration":500},"breakpoints":{"mobile":{"conditions":{"max-width":"767px"},"options":{"options":{"nav":"dots"}}}}}}}<script>
require(('jquery'), function($, themewidgets) {
    $('(data-gallery-role=gallery-placeholder):not(.loaded)').each(function() {
        var $gallery = $(this).addClass('loaded'), img = new Image(), conf = {"mixins":("magnifier/magnify"),"magnifierOpts":{"fullscreenzoom":20,"top":"0","left":"-300","width":"300","height":"300","eventType":"hover","enabled":false},"data":({"thumb":"https://www.scontolibri.com/pub/media/catalog/product//imgean/g/6/1/7/4/9788830104716g.jpg","img":"https://www.scontolibri.com/pub/media/catalog/product//imgean/g/6/1/7/4/9788830104716g.jpg","full":"https://www.scontolibri.com/pub/media/catalog/product//imgean/g/6/1/7/4/9788830104716g.jpg","caption":"Il signore degli anelli - Tolkien John R. R.","position":"1","isMain":true,"type":"image","videoUrl":null},{"thumb":"https://www.scontolibri.com/pub/media/catalog/product//imgean/p/6/1/7/4/9788830104716p.jpg","img":"https://www.scontolibri.com/pub/media/catalog/product//imgean/p/6/1/7/4/9788830104716p.jpg","full":"https://www.scontolibri.com/pub/media/catalog/product//imgean/p/6/1/7/4/9788830104716p.jpg","caption":"Il signore degli anelli - Tolkien John R. R.","position":"1","isMain":false,"type":"image","videoUrl":null}),"options":{"nav":"thumbs","showCaption":0,"width":600,"height":600,"thumbwidth":80,"thumbheight":80,"transition":"slide","navtype":"slides","navdir":"horizontal","thumbmargin":5,"loop":true,"keyboard":true,"arrows":true,"allowfullscreen":true,"transitionduration":500,"navarrows":true},"fullscreen":{"nav":"thumbs","navdir":"horizontal","navtype":"slides","transition":"slide","loop":true,"arrows":true,"transitionduration":500},"breakpoints":{"mobile":{"conditions":{"max-width":"767px"},"options":{"options":{"nav":"dots"}}}}};
        function adjustOptions(conf, ratio) {
            var contwidth = $gallery.width(), opt = conf.options, width, height;
            if ((window.innerWidth > 767) && (opt.navdir == 'vertical')) {
                width = contwidth;
                height = (contwidth - opt.thumbwidth - opt.thumbmargin) * ratio + opt.thumbmargin*2;
            } else {
                width = contwidth;
                height = contwidth * ratio;
            }
            conf.options.width = width;
            conf.options.height = height;
            return conf;
        }
        $(img).on('load', function() {
            var $img = $(this), ratio = img.height/img.width;
            var updateGallery = function() {
                var dataGallery = $gallery.data('gallery');
                if (dataGallery) {
                    dataGallery.updateOptions(adjustOptions(dataGallery.fotorama, ratio).options);
                }
            }
            updateGallery();
            $gallery.on('gallery:loaded', updateGallery);
            $(window).on('cdz_window_width_changed', updateGallery);
        });
        img.src = 'https://www.scontolibri.com/pub/media/catalog/product
    });
});</script><div class="action-skip-wrapper"><a class="action skip gallery-prev-area" href="#gallery-prev-area"><span> Vai all'inizio della galleria di immagini</span></a></div><a id="gallery-next-area" tabindex="-1"></a></div>

arquivo – recover an image or file for editing

I have a form that has a field to register an image. When loading the editing form, I cannot insert the path of the image that had already been registered. How to insert the path of this image that is retrieved from the bank?

json formatting – Lists: Show image overlay on mouse over

This might not be exactly what you need, but here is a good start.

In order to display a custom hover card, you need to use customCardProps element. See more details here. It has the following properties:

openOnEvent

  • hover – card appears on mouse hover;
  • click – card appears on click on the field.

directionalHint

  • topCenter bottomCenter leftCenter rightCenter
  • isBeakVisible – boolean. if true the card has a beak.

How to display an image using JSON formatting

{ 
  "elmType": "img",
  "attributes": {
    "src":  "[$Photo]" 
  }
}

And here is a complete script

{
    "elmType": "div",    
    "attributes": {
        "iconName": "Search"
    },
    "customCardProps": {
        "openOnEvent": "hover",
        "directionalHint": "rightCenter",
        "isBeakVisible": true,
        "formatter": {
            "elmType": "div",
            "style":{ "display": "block", "font-size": "15px", "padding": "10px" },
            "children": [
                {
                    "elmType": "div",
                    "style": { "display": "block", "width":"100%", "text-align": "center", "padding": "10px" },
                      "children":[
                      { "elmType": "img",
                            "attributes": {
                                "src":  "[$Photo]" 
                            }
                      }
                      ]
                   
                }
            ]
        }
    }
}

Result

enter image description here

repair – Is my image exposure off due to shutter problems?

I’ve recently noticed an issue with my dslr regarding exposures. Most of my time is spent using shutter speeds under 1/100s for landscape photography but the other day I was trying to under expose a shot early on a sunny morning and found I could not do so using shutter speeds. As I am an Olympus four thirds user I’m restricted to low ISO’s (due to noise), and larger apertures (due to diffraction and depth of field) than other larger formats.
My initial experiments showed that shutter speeds faster than the camera’s flash sync speed weren’t working. The exposure didn’t change as I took shots in shutter priority mode from about 1/160s to max at 1/4000s, and I wondered if the sync speed setting was somehow stuck on despite the built in flash being set off and the display showing fast shutter speeds.
I took the camera out again recently when snow had fallen and as the light increased I started to struggle again, being forced to use small apertures and eventually ND filters to get images in the strong light.

I found that in burst mode the camera would take a sequence of four or five pictures as follows (all at f/18 1/160s ISO 100 19mm):

  1. Totally over exposed.image 1 f/18 1/160s ISO 100 19mm
  2. Correctly exposed but with an overexposed strip at the bottom of the frame.image 2 f/18 1/160s ISO 100 19mm
  3. Correctly exposed.image 3 f/18 1/160s ISO 100 19mm

Is this a sticky second curtain? It has been cold recently but I suspect this is the end for my much loved, 12 year old Olympus E-520. Are there any possible fixes I can try before finally put my hand in my pocket to replace this now defunct system (Oly gave up support before selling the imaging division to JIP)?

Manually Edited Word Files Created From HTML Documents Stored in Doc Libs Have Black Image Placeholders

I have an app in SharePoint that builds HTML markup containing an image (logo) inserted in the markup using base64-encoded and then creates a Word (doc, not docx) file in a SP document library

You can open up the file from the standard view of the doc lib and the Word file text and image are there.

Now open the Word file from the doc lib, do some manual editing of the file, save and close.

Re-open the Word file from the doc lib, and the image of the logo has an image placeholder area and the background is solid black.

Something happened between Word editor and SharePoint during the manual editing that it saved everything else in the Word file but not the image. Playing around with Word doesn’t recover the image. File=>Inspect Document does not report anything. Continued editing actually causes the image part to disappear, with Word reporting that “header.htm” is missing

Why would Word lose data like that?