sonnb - XenGallery (XenForo Gallery) [Deleted]

I would check Imagick integration.

Checked and works without problems since almost a year now.

If you are sure there is no bug in the code, I'll forward it to our server technicians. For me the code looks pretty okay... Strange.

PHP:
        if (XenForo_Application::get('options')->imageLibrary['class'] == 'imPecl')
        {
            $class = new Imagick();
           
            foreach ($imageArray as $index => $image)
            {
                $class->readimage($image);
                $class->rotateimage(new ImagickPixel(), $angle);
                $class->setimageformat($photo['extension']);
                $class->writeImages($newImageArray[$index], true);
            }
           
            $class->destroy();
            return true;
        }
 
Checked and works without problems since almost a year now.

If you are sure there is no bug in the code, I'll forward it to our server technicians. For me the code looks pretty okay... Strange.

PHP:
        if (XenForo_Application::get('options')->imageLibrary['class'] == 'imPecl')
        {
            $class = new Imagick();
          
            foreach ($imageArray as $index => $image)
            {
                $class->readimage($image);
                $class->rotateimage(new ImagickPixel(), $angle);
                $class->setimageformat($photo['extension']);
                $class->writeImages($newImageArray[$index], true);
            }
          
            $class->destroy();
            return true;
        }
I did not say that there is no bug in code. I said that I would check it to make it works. Sorry if that was not clear for you.
 
can you do to make navigation buttons remain at the same level from the top?
thank you
 

Attachments

  • 123.webp
    123.webp
    39.6 KB · Views: 20
I think if you want it to be on top, you should add CSS to extra.css at your own.

Code:
.pwPhoto .prevPhoto,
.pwPhoto .nextPhoto {
height: 50px;
}
 
How about?
Code:
.pwPhoto .prevPhoto,
.pwPhoto .nextPhoto {
height: 50px!important;
}

Added important to override default css.
 
There are a lot of cameras that don't have a photo. How can we add a photo of some of the cameras on that list?
 
When trying to view a members only album as a guest, this phrase is showing as only the phrase title:

sonnb_xengallery_only_registered_members_can_perform_this_action

Screen Shot 2013-08-20 at 4.51.38 PM.webp
 
@sonnb can you add an option that lets us set the album and privacy option for ALL existing albums and photos? I thought I would be able to do it myself in phpmyadmin with a mysql command. I edited an album called Chat Central. The album id is 31. I made sure that "View this album" and "Comment To This Album" was set to "People Following Me" and "Download Original Photos" was set to "Only Me". Once I did so I looked to see what has changed in the database. All I saw was that in sonnb_xengallery_album_view it showed 31 three times. So I looked in sonnb_xengallery_album and saw that column album_privacy is "Binary, do not edit" This obviously goes beyond my expertise so I now know I can't do it through SQL.
 
Back
Top Bottom