/* Bilder auf Laptop und PC */
@media (min-width: 768px) {
    .frame-type-textmedia .gallery-item img,
    .frame-type-image .gallery-item img {
        max-width: 500px !important;
        width: auto !important;
        height: auto !important;
    }
}

/* Bilder auf Handy */
@media (max-width: 767px) {
    .frame-type-textmedia .gallery-item img,
    .frame-type-image .gallery-item img {
        max-width: 100% !important;
        height: auto !important;
    }
}