• Resolved stob88

    (@stob88)


    I cannot upload photos without importing them from FTP.

    Here are the errors I get.

    Warning: getimagesize(/home/mysite/public_html/wp-content/uploads/wppa/thumbs/1920.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/furrytow/public_html/wp-content/plugins/wp-photo-album-plus/wppa_functions.php on line 739

    Warning: Division by zero in /home/mysite/public_html/wp-content/plugins/wp-photo-album-plus/wppa_functions.php on line 746

Viewing 11 replies - 16 through 26 (of 26 total)
  • eventors

    (@eventors)

    Thanks, Works perfectly.
    I assume If I want the centered image bigger, I increase to 500?
    Is there a down side of making the image bigger? What size will fill left to right dimension:
    https://withlacoocheegulfpreserve.com/?page_id=136

    Again, I appreciate you help – It looks very good!
    Jeff

    eventors

    (@eventors)

    One more item: Under photo it says “you must log in to vote”
    I assume I can uncheck that in settings section?
    JB

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I think approx 940 will be the maximum.

    There is no downside to it as long as your original photos are at least that size. If you check ‘Resize on upload’ make sure the fullsize width and height are set large enough, otherwise those numberes are used to shrink the photo so it will fit in a box of that size. The aspect ratio will always remain correct. This is a ‘holy’ property within wppa+

    You should NOT need the ‘Stretch to fit’ box to get them displayed large enough, it would blurr the images more or less.

    Just play around with those settings, you will find the settings you prefer quite easy.

    You have various options for the rating system, like the ability to change your vote or to vote more than once. The default is just a conservative choice.

    Before setting up your site ‘for real’ you should play around with the settings to get the feeling of what is possible (a lot!)

    Hello,

    How can I change the settings wherein if I choose fit the height of the slide show is expanding if the photo is portrait. What I wan’t is the height is fixed. If the photo is portrait the height will remain and the width is reduced.
    https://teddyandcharmaine.com/?page_id=18&album=1&photo=52&occur=1

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    1. On the Photo Albums -> Settings page set the Fullsize width (preferrable equal to the column width) to the width you want.

    2. Set the height so that it corresponds to the height of a landscape photo that fits the width you just have set.

    3. Check the ‘Resize on upload’ box.

    To fix the photos you already uploaded:

    Either:
    1. Set the vertical alignment on the chapter Full size & Slideshow to center

    Or:
    1. Export the album(s) that have portait images.

    2. Delete those albums.

    3. Import them again.

    99. Done! Good luck

    I keep getting the following error:
    Fatal error: Class ‘ZipArchive’ not found in /var/www/html/wp-content/plugins/wp-photo-album-plus/wppa_upload.php on line 1003

    I have verified that the zip file was indeed uploaded to the following directory,

    wppa-depot/admin/
    (the filename is zoo.zip)

    but your import function is not working for me.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    What is your php version? (See Photo Albums -> Settings admin page).

    Also, please supply a link to your site.

    PHP version 5.3. mikesandburg.com

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Somewhere around line 1440 in wppa_settings.php (if you have the latest version) you will find:

    <?php // Table 10: Miscellaneous ?>
    			<h3><?php _e('Table X:', 'wppa'); echo(' '); _e('PHP Configuration:', 'wppa'); ?><?php wppa_toggle_table(10) ?></h3>
    			<?php _e('This table lists all PHP server configuration parameters and is read only', 'wppa'); ?>
    
    			<div class="wppa_table_10" style="margin-top:20px; text-align:left;">
    				<?php phpinfo(5) ?>
    			</div>
    		</form>
    		<script type="text/javascript">wppaInitSettings();</script>
    	</div>

    Change <?php phpinfo(5) ?> to <?php phpinfo(-1) ?>

    This will give you all php config info in Table X of the Photo Albums -> Settings admin page. You can also see whether zipfiles are supported.
    If not, ask your administrator.

    I’m wondering if you could explain how the max_file_uploads work. Is this the maximum photos a user will ever be able to upload, or only on a specific day or any give time period?

    If it’s how many they can ever upload, is there a way to change this. The main user of my site is a photographer who would obviously like to upload more like 200 photos at a time. Is there is a way that I can change the max_file_uploads setting.

    The only reference I have found to it in the PHP files is in wppa_uploads.php is this the correct place to make the change?

    Thanks!

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    max_file_uploads is a php setting (php.ini) that indicates the maximum number of files you can upload in one request. You may try to increase the number (in my server it is set to 20) but your hosting provider may have set a maximum that you can not overrule.

    If you want to upload, say 200 photos, you have to upload 10 times 20.

    Note that there may also be a limit on total filesize (upload_max_filesize) you can upload in one request (like 10MB as in my server), and maximum upload time (max_input_time) (in my server: 60 seconds).

    So there are many ways that may limit your uploading of photos, but, the good news is that wppa+ recognizes when an upload process has been interrupted by some sever restriction and ‘repairs’ any inconsistencies that results from this.

    To upload large numbers of photos, wppa+ has two possibilities:

    1. Make a zipfile containing your photos (the zip should not be larger than the upload_max_filesize and upload the zipfile (see the lower half of the Photo Albums -> Upload Photos admin page) and import the photos using the Photo Albums -> Import Photos admin page.

    2. Use an FTP program to upload as many photos as you want to your personal wppa+ depot that is located at …/wp-content/wppa-depot/Joe/ (if your login name is Joe) and use the Photo Albums -> Import Photos admin page.

    You can find the currently valid restrictions on the php settings mentioned above in Table X of the Photo Albums -> Settings page.

    This is about all that can be said about this topic.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘[Plugin: WP Photo Album Plus] Uploaded photos are errors’ is closed to new replies.