Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
    • Graphic
    • HTML / PHP / CMS
    • Java
    • PL / SQL
    • Magento
    • python
    • Asterisk
    • C / C++
    • JavaScript
    • Json
    • Magento
      • Cache
      • Configuration
        • Address fix
        • Breadcrumb
        • CMS extension
        • Category banner
        • Category mouse over
        • Currency exchange
        • Customer salutation
        • Customi Shop by
        • Delete order
        • Featured items
        • Fix PayPal bug
        • Footer
        • German tax
        • Google +1 Button
        • GoogleAnalytics fix
        • Image Sitemap
        • Language
        • Lightbox
        • Magento Cron
        • Magento SQLs
        • Magento
        • Magento product back button
        • Market Ready Germany
        • Move Cart to Header
        • Multistore 404 Fix
        • Newsletter import
        • NoRegion
        • PayPal
        • Price on request
        • Redirect language
        • Reflection
        • Remove Add to compare
        • Search by Category
        • Session timeout
        • Set featured products
        • Shadowbox
        • Terms and Conditions
        • Theme
        • Top category offer
        • Update core config data
        • Update footer year
        • Update free shipping
        • Upload field
        • VertNav
        • formal customer name
        • local.xml
        • magento_easy_flags
        • proceed to checkout button
        • recently viewed
        • wishlist
      • Database select
      • Delete unused product images
      • Erase credit card
      • Installation
      • Java Connector
      • Magento code snippet
      • mkMagentoDump.sh
      • snippets
    • OpenOffice / LibreOffice
    • Perl
    • Postfix
    • Regular Expression
    • TLA
    • Tomcat
    • Zenity
    • bash
    • find
    • git
    • ofbiz
    • wildfly
    • xml
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
  • magento
# install easy light box

http://www.magentocommerce.com/magento-connect/TemplatesMaster/extension/1487/magento-easy-lightbox

# xml

edit

./app/design/frontend/default/default/layout/easylightbox.xml

replace
easylightbox
to
shadowbox

# phtml

copy

./app/design/frontend/default/default/template/easylightbox/media.phtml

to

./app/design/frontend/default/default/template/shadowbox/media.phtml

edit or download
http://www.panticz.de/sites/default/files/magento/shadowbox/media.phtml

# js

copy

./custom/shadowbox/shadowbox.js

to

./skin/frontend/default/default/js/shadowbox.js

edit ./skin/frontend/default/default/js/shadowbox.js
add
onclick="Shadowbox.close()"
to
id="sb-wrapper-inner"

# css

copy

./custom/shadowbox/shadowbox.css

to

./skin/frontend/default/default/css/shadowbox.css

edit ./skin/frontend/default/default/css/easylightbox.css
add
#sb-body,#sb-loading{background-color: #FFFFFF;}
#sb-wrapper-inner{background-color: #FFFFFF;padding: 5px;}

replace
url(
with
url(/skin/frontend/default/default/images/shadowbox/

replace
#sb-loading-inner{position:absolute;font-size:14px;line-height:24px;height:24px;top:50%;margin-top:-12px;width:100%;text-align:center;}
with
#sb-loading-inner{position:absolute;font-size:14px;line-height:32px;height:32px;top:50%;margin-top:-12px;width:100%;text-align:center;}

replace
#sb-loading-inner span{background:url(/skin/frontend/default/default/images/shadowbox/loading.gif) no-repeat;padding-left:34px;display:inline-block;color:#666666;}
to
#sb-loading-inner span{background:url(/skin/frontend/default/default/images/shadowbox/loading.gif) no-repeat;padding-left:38px;display:inline-block;color:#666666;}

# images

create dir

./skin/frontend/default/default/images/shadowbox/

copy *.png and *.gif to

./skin/frontend/default/default/images/shadowbox/

copy

./skin/frontend/default/default/images/lightbox/loading.gif

to

./skin/frontend/default/default/images/shadowbox/loading.gif
# Links

http://vonlind.com/2008/06/adding-shadowbox-to-magento-ecommerce/
http://www.shadowbox-js.com/

Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung