Panorama Viewer for cpg1.6.x Panorama Viewer for cpg1.6.x
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Panorama Viewer for cpg1.6.x

Started by Αndré, January 11, 2019, 08:37:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

This is the cpg1.6.x and PHP7 compatible version of the Panorama Viewer plugin.

Quote from: Αndré on June 08, 2009, 04:19:49 PM
This is a simple panorama viewer. It uses HTML to prevent large images breaking your website design. If you upload an image with the extension '_360pano.jpg', the script will loop the image. <- the string is configurable since plugin version 1.4

It's tested only with my preferred settings yet. Please report any messy behavior.




Version 1.4 adds a configuration interface:

Panorama detection (+ corresponding Value)

  • By picture width - The panorama viewer code is just applied if the picture's width exceeds a fixed pixel value
  • By picture ratio - The panorama viewer code is just applied if the picture's width is at least x times the picture's height
  • By file name - The panorama viewer code is just applied if the picture's file name contains a fixed string
  • Always - The panorama viewer code will be applied to all pictures
360° panorama file name string - If the picture's file name contains that string, it will always be looped (ignores above settings)