News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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)