Giter Club home page Giter Club logo

cliche's Introduction

Hi there πŸ‘‹

cliche's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cliche's Issues

Placeholder to retrieve the Album ID on a template ?

Hi,

Nice addon, thanks :)
It's missing a usefull placeholder (or it's undocumented) to use the rel attribute on a fancybox gallery : [[+albumid]]
I want to navigate inside the gallery by using this kind of Tpl :

<dl class="item">
    <dt class="album-icon">
        <a class="zoom" title="[[+name]]" rel="album[[+albumid]]" href="[[+image]]">
            <img width="[[+width]]" height="[[+height]]" title="[[+name]]" alt="[[+description]]" class="attachment-thumbnail" src="[[+thumbnail]]"/>
        </a>
    </dt>
</dl>

Is existing a placeholder to doing this, or can you implement it in future version ?

Browse... button doesn't work

Hello. After upgrade to 1.0.1 RC 2 or RC3 "Browse.." in image uploader stopped working. I try to click on it from two different browsers, but it does nothing. Thanks in advance.

Requested new features!

As we talked on gtalk , i am adding those feature requests to here:

  1. ) Another custom TV type to connect albums directly with resources
  2. ) For the cliche thumbnail albums that are connected with TV thumbnail add the field that display to which resource the particular TV is connected , also if you can below add a div for custom output, eg. "[[_pagetitle]],[[_date_start]]" , allow user his own personal preferance what to display in that div. This should be in system settings.
  3. ) Filtering Albums based on tag ( displaying albums on frontend based on tag) (or better yet by any custom field), also it could be searchable by the custom label in request #2.
  4. ) Order field ( custom field for order of albums) . When i filter all the albums let's say to display all albums by year 2012, then. But my user wants me to order them by latest album created let's say or alphabetical,.. If possible add some options for listing order, or maybe make backend \ mgr albums dragable (just like images) and then display same as in backend!
  5. ) Add option for watermark in snippet or somewhere
  6. ) Allow other extensions like videos in ( avi , mpg) , make a thumb of video using ffmpeg maybe?

Thats that for now! I will add some more when i think of!

Regards, yuka\donnieyeen

Documentation error

[[!ClicheAlbum?
&id=your_album_id
&thumbWidth=75 //Or any width
&thumbHeight=75 //Or any height
&display=galleriffic //Required
&config=config //Required
&css=style //Required
&columns=0 //Required
]]
should have &display changed to &plugin

File Upload Error

modx 2.2.7-pl
cliche 1.0.1-RC5

cant't upload any Files

fileuploader.class.php line 59

I think it should be if ($postSize > $this->config['sizeLimit']) instead of
if ($postSize < $this->config['sizeLimit'])

lower/uppercase issue

Just installed it on ModX 2.2.6.pl
PHP Version 5.2.17
Linux tux177 2.6.36.3
client: win8

Not sure if it is my issue of cliche.
I wanted to upload images to a new album. I get the error (via Network tab):
Fatal error: Uncaught exception 'Exception' with message 'Image file not found: /...beta/assets/components/cliche/albums/1/dsc_5096.JPG' in /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php:193
Stack trace:
#0 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php(172): ThumbBase->triggerError('Image file not ...')
#1 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php(110): ThumbBase->fileExistsAndReadable()
#2 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/GdThumb.inc.php(96): ThumbBase->__construct('/home/www/web25...', false)
#3 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbLib.class.php(127): GdThumb->__construct('/home/www/web25...', Array, false)
#4 /...beta/core/components/cliche/model/cliche/cliche.class.php(131): PhpThumbFactory::create('/home...', Array)
#5 /ho in /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php on line 193

the images get uploaded, but cliche doesnt find them,
I solved it by renaming the file extensions on the server to uppercase. (jpg to JPG).

cheers

Client-side resize

Is it possible to include the "resize" function of plupload (client-side resize)?
Sending smaller files to server would be great. It would be very convenient for clients.

macintosh upload gets stuck somehow

At my work we have a problem with uploading images with macintosh.
Seems to get stuck at 1 image, have to delete it manually.

On pc we have no problem.

//

Isn't it a bit weird every image is saved into a map?

Update fancyBox to 2.0.6 version

This can be implemented?
http://fancyapps.com/fancybox/

Version 2 is completely rewritten with new features and updated graphics.

Notable changes

  • Extendable using helpers
  • Responsive (try resizing window while fancyBox is open)
  • Integrated slideshow
  • New gallery transitions
  • Uses CSS3 (shadows, round corners)
  • Updated plugin options (not compatible with previous versions)
  • Now licensed under Creative Commons Attribution-NonCommercial 3.0

New update?

Hello, I just wanne know if there's still progress on Cliche or has this project stopped? I love this plugin, but see that it's still onder RC and there are still some problems with the manager (like upload not working in IE for example). So is this still a good plugin to use or should I better use Gallery, migx or something else?

Undefined variable: controllerName

Here I go again. Using ClicheAlbum snippet call results in error:
Notice: Undefined variable: controllerName in C:\xampp\htdocs\decoracryl\core\cache\includes\elements\modsnippet\96.include.cache.php on line 23
and the message in the bottom "[Cliche] Album not found"
but the album exists.

I use this simple call:

[[ClicheAlbum?
&id=1
]]

[[Cliche]] constantly shows 1 photo with id 6

[[ClicheItem?
&id=6
]]

doesn't show anything at all

And 1 small question:
сan I disable adding jquery in code, because I already have one

Strict Standards error

I've got this error in the header of Album manager on fresh install:

Strict Standards: Redefining already defined constructor for class ClicheAlbums_mysql in C:\xampp\htdocs\modx\core\components\cliche\model\cliche\mysql\clichealbums.class.php on line 10

And creation of the albums doesn't working.

MODX Revolution 2.2.1-pl on XAMPP
PHP 5.3.8
MySQL 5.5.16

Firefox 8 Bug

When attempting to upload images through firefox 8, the uploader gives a unsupported filetype error. According to Mr. Hamstra this is due to qqfile value not being passed

Creating album not working properly

Using 2.2.0-pl2 (advanced) and Cliche 1.0.1 beta3.

When I try to create an Album it won't apear in backend and it keeps showing me that its loading... but nothing happens.

I think the album was created since I wanted to create another one with the same name and it told me that it already exists

Various notifications with new MODx version

With a clean installation of the new MODx version 2.2.1-pl (traditional), both the manager and the site itself show various notification messages of undefined variables (such as $siteSettings, $config or $debugUser.

Cliche caching

Couple question about Cliche caching?
I use pthumb most of my images. It have its own caching. Cliche is creating own cache too in components folder.

Is there a way change cache location or/and settings about Cliche caching?

After change upload size percentage doesn't work.

I have a hosting where I installed Cliche.
I had to change the upload size because bigger size as +/- 1 MB gave message, filesize is too large.

Did the change* but now the upload bar does weird stuff.
Goes very gast to 98%, then it sticks to 99% and doesn't say it's done while it actually is.
It does upload the files.

Do i need to change something elsewhere too of does it have to be a number multiply by 16 ?

/core/components/cliche/model/cliche/helpers/fileuploader.class.php
about line 44:
$this->config['sizeLimit'] = $this->modx->getOption('sizeLimit', null, 92097152);

increased the number

Missing fancybox options

I always use fancybox for popup, i like to use options like:

<script type="text/javascript">
    $(document).ready(function() {
        $("a[rel=fancypop]").fancybox({
            'titlePosition'     : 'over',
            'transitionIn'      : 'none',
            'transitionOut' : 'none',
            'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
            return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
            }
        });
    });
</script>

Can this be integrated?
// Next / prev image option should be basic.

Javascript conflict

Hi,
I'm having problems implementing Cliche. When I use it , I have a tabbed menu that stops working ... I believe it is a javascript conflict ... Any idea as to how I can solve this ?
I have a first element that could help .... If I place my javascript at the bottom of the page I get my tabbed menu working fine but then it is lightbox that does not work anymore ....
Any help will be appreciated ! Many thanks

itemTpl not being read?

So I have:

[[!Cliche? &id=1 &view=album &thumbWidth=170 &thumbHeight=170 &itemTpl=pf.AlbumItem.tpl ]]

My pf.AlbumItem.tpl chunk is not being read. In my chunk I have a class="colorbox". In my output I am seeing class="zoom". I have no idea where it is pulling that zoom from but I even manually edited both item.tpl and itemzoom.tpl on the server to zoom1 just to see if it would change and it didn't.

I know my Cliche call is working because if I change the width and height, it is reflected in the output. Something is bypassing the itemTpl call.

Don't understand how to get fancybox or gallerific to work

Hello,

This component seems really great. Especially I'm loving the manager.

But I don't quite understand how to get fancybox or gallerific to work.

I tried using

[[!ClicheAlbum?
&id=your_album_id
&thumbWidth=75 //Or any width
&thumbHeight=75 //Or any height
&display=galleriffic //Required
&config=config //Required
&css=style //Required
&columns=0 //Required
]]

for gallerific but that didn't work.

I understand that I must load jquerry myself, but that I have already done, since I have other elements that rely on jquery,

I noticed that there is no "rel" attribute on .

ERROR Unexpected token <:

When I start Cliche I get this ERROR message. I can't even create an album.

Cliche: 1.1.0 RC1
MODX Revolution 2.2.9-pl

ERROR MESSAGE:

Unexpected token <:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2 Server at mywebsite.com Port 80

How to add a plugin ?

I'm looking for a way to add a new plugin to Cliche : colorbox

Is someone know the differents steps to do this ?

[Cliche] File is too large

I noticed i got this error saying the file is to large.

I uploaded a zipfile with only a filesize of: 2826.6 KB

toPlaceholder & fancybox

1)Is there a way to put Cliche into a placeholder? e.g.: [[!Cliche? &toPlaceholder=overview]]

  1. When I use Cliche with the browse element (&view=albums &browse=2) then I get the overview, but on the second page of the album the photo doesn't open in a fancybox but on a new page.

  2. the next/prev button is not working on fancybox

  3. there's a new version of fancybox (version 2), is it possible to use this? Or will it be in the next update?

Thx for help.

uploading not recognizing or processing UPPERCASE file extensions

I have a user that doesnt understand how to rename file extensions and her camera is naming the files as IMG_XX.JPG with an uppercase JPG. If I rename the extension to .jpg it works fine but .JPG will cause the gallery that the file is being uploaded in to crash and not display anything in the manager/upload tool. this is the error message created when trying to upload the uppercase file extension file:
undefinedjpg,jpeg,gif,png,zip

I have been looking all over for references to allowed filetype extensions and have found a few references, but even adding JPG to the list, it still doesnt work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.