It's ridicules I CANNOT add any large images. I would like to do so because of printing (not viewing).
You also get some STRANGE error message when trying to add Multi-media file.
The solution is to reduce the image dimension/resolution.
For example, I am not able to add a image of 3000 x 4000 pixels
Of course I could convert to PDF … which solves the problem but I do not understand this limit of PGV.
Cheers,
Matthijs
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My. My. We're awfully quick to criticize PGV for something that actually has nothing to do with PGV.
If you host your own server and can devote enough RAM to PHP and PGV, then change your PHP.INI configuration and remove or change the image upload restriction. It is there, not in PGV. If hosted elsewhere, it is unlikely that your ISP will allow images of that size as they put an unnecessary strain on the bandwidth and servers.
Once again, PGV is not, nor will it be designed to be image management software. There are already excellent hosts for image galleries, both personal and business, which allow you this luxury - large scale images for shared distribution and reproduction. Personally, I can't think of a good idea why a genealogy program would tolerate an image of the scale and depth that you propose. I don't support the reprinting of images via PGV as it is hardly an archival process. Images in genealogy are meant to be 'pretty little things' you can tag onto the data that improve the understanding of our ancestral history.
If you need archival software, go and find it, but PGV is not your solution. Nonetheless, it DOES allow you to do what you wish, albeit very sluggishly because of bandwidth and memory demands. You are mistaken about it not supporting your needs.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No .. I think you are wrong .. enough memory and php.ini is set to 8 MB … so large enough (file is about 3.4 MB).
And than again … if I convert to PDF I have no problem. I can attach large Multi-media files if I want, but NO images.
I received some scans from archives which I would like to include.
Now I have to convert them to PDF first, before I can add it to a person or family.
Basically I either have to convert it to PDF or resize the image to a smaller resolution.
However I just found out it's the automatically generate thumb what is the problem.
Matthijs
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Matthijs
I was about to answer, but Greg put it succinctly as I only implied that memory and setting were an issue, assuming that, given your desire to use large images, that you had some knowledge about the mechanism.
I have my Gallery site set for 100mb images and I have php set to accept uploads of that size. This allows reasonably high definition and depth images of large format to be archived there, shared with my family if need be, and printed in as high a quality as would be necessary. Usually 300dpi and 800x1200 pixel images are sufficient for print and magazine work, but you may have other needs.
Thumbnail creation is entirely done in memory and requires reading the image into memory, then manipulating it with resizing. Check the Manage Media function under your Portal icon. If the original image is a 2mb jpeg, you may need up to 64mb of RAM to create thumbnails on the fly. I find that most photos need cropping for good thumbnails, so I create them independently and upload them when I upload the media.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
About the error message, nothing about "out of memory" … this is what I get:
Thumbnail media/thumbs/DIR/<filename>.jpg could not be generated automatically.
Blank name or illegal characters in name
Close Window
I am also not sure which php setting needs to be updated.
memory_limit = 128M
upload_max_filesize = 8M
It also gives some other problems as well, media is uploaded and placed in correct folder.
But no link of media and person/family is created. So if you want to do this again, it tells you the file is already there (
Media file already exists).
But NOT visible in MultiMedia Objects. So you need to remove the file manually from the server itself to add it again.
I also did not find any option to recreate the thumbnail from MultiMedia Objects, not even if I edit the object.
Thanks,
Matthijs
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need MUCH more memory than the 128 Mb you've allotted. Alternatively, use Stephen's recommendation and create your thumbnail outside PGV and upload it at the same time you upload the main image. Thumbnails should not be larger than 150 px high or wide.
You're not seeing your file in the media object list because all you've done is upload it to the server's file system. This doesn't create a media object, and that fact is well documented.
You would see the file in the Manage Media list, but you will still have problems until you increse the memory limit significantly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you FTP your media to your folder or simply upload using PGV, as Gerry says, you've not created any internal link for reference and will have to use media management. upload_max_filesize = 8M is the barrier here to uploading larger files, but as Gerry says, I seriously dobt that 128mb of RAM is sufficient. I have 1G devoted to my PGV install.
Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're not getting an "out of memory" message because the error is being reported by a PHP function that re-sizes the original image to produce your thumbnail.
This PHP function first has to produce an in-memory bit map of your original JPG, then crop it, and then re-size it. The process is failing, and the PHP function isn't smart enough to report a meaningful error. PGV can't do anything about that.
PGV tries to estimate how much memory would be required to produce the thumbnail and if there's clearly not enough, you WILL see a meaningful message (this is what Greg is referring to). However, if the allocated amount of memory is marginal and your JPG expands to a larger-than-expected bit map (probably too great a colour depth), PGV will launch the PHP re-sizing function which will then fail.
In summary:
Create your thumbnail outside PGV using your favourite image manipulation tool. Upload the main image and the thumbnail at the same time, using PGV's Media Upload tool. Link the uploaded image to the correct person, familoy, or source by editing the image from the Manage Media page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I still find it strange that if ONLY thumbnail fails, all fails but file is uploaded. So if you try again, it just says it's already there (Media file already exists).
Maybe it's just me, but if I have an image (Media Object) without thumb, how do I add the thumb after-wards like suggested?
So far I only know you can do this when uploading, not when the image or media object is already there… (or I still didn't find where to do this).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Matthys - You can upload a thumbnail of any media object to the THUMBS directory, at any time, just not via the PGV GUI. Just FTP the thumbnails to the folder, being sure they are named identically to the master image. This is particularly easy when you use the master image file as the starting place for thumbnail creation, as you simply don't change the name when you save the thumb.
If you have changed your memory parameters, you can also use PGV's system to create missing thumbnails, but it does require that extraordinary amount of system load/overhead/memory if the original master image files are large. You do this from the media management link, CREATE MISSING THUMBNAIL link.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's ridicules I CANNOT add any large images. I would like to do so because of printing (not viewing).
You also get some STRANGE error message when trying to add Multi-media file.
The solution is to reduce the image dimension/resolution.
For example, I am not able to add a image of 3000 x 4000 pixels
Of course I could convert to PDF … which solves the problem but I do not understand this limit of PGV.
Cheers,
Matthijs
Matthijs
My. My. We're awfully quick to criticize PGV for something that actually has nothing to do with PGV.
If you host your own server and can devote enough RAM to PHP and PGV, then change your PHP.INI configuration and remove or change the image upload restriction. It is there, not in PGV. If hosted elsewhere, it is unlikely that your ISP will allow images of that size as they put an unnecessary strain on the bandwidth and servers.
Once again, PGV is not, nor will it be designed to be image management software. There are already excellent hosts for image galleries, both personal and business, which allow you this luxury - large scale images for shared distribution and reproduction. Personally, I can't think of a good idea why a genealogy program would tolerate an image of the scale and depth that you propose. I don't support the reprinting of images via PGV as it is hardly an archival process. Images in genealogy are meant to be 'pretty little things' you can tag onto the data that improve the understanding of our ancestral history.
If you need archival software, go and find it, but PGV is not your solution. Nonetheless, it DOES allow you to do what you wish, albeit very sluggishly because of bandwidth and memory demands. You are mistaken about it not supporting your needs.
-Stephen
No .. I think you are wrong .. enough memory and php.ini is set to 8 MB … so large enough (file is about 3.4 MB).
And than again … if I convert to PDF I have no problem. I can attach large Multi-media files if I want, but NO images.
I received some scans from archives which I would like to include.
Now I have to convert them to PDF first, before I can add it to a person or family.
Basically I either have to convert it to PDF or resize the image to a smaller resolution.
However I just found out it's the automatically generate thumb what is the problem.
Matthijs
BTW … is there any way to re-create a thumb? I just added the image but if I edit it I do not have any option to generate thumb.
<<No .. I think you are wrong .. enough memory and php.ini is set to 8 MB … so large enough (file is about 3.4 MB).>>
No. You are wrong. Not "I think you are wrong". You are wrong.
JPEG is a compressed file format. To generate a thumbnail, it must be uncompressed. 3000x4000 pixels @ 24 bits/pixel is 36MB.
8MB is not enough.
Had you read the <<some STRANGE error message>>, you would have found that it said words to the effect of "out of memory".
<<BTW … is there any way to re-create a thumb?>>
Yes.
Matthijs
I was about to answer, but Greg put it succinctly as I only implied that memory and setting were an issue, assuming that, given your desire to use large images, that you had some knowledge about the mechanism.
I have my Gallery site set for 100mb images and I have php set to accept uploads of that size. This allows reasonably high definition and depth images of large format to be archived there, shared with my family if need be, and printed in as high a quality as would be necessary. Usually 300dpi and 800x1200 pixel images are sufficient for print and magazine work, but you may have other needs.
Thumbnail creation is entirely done in memory and requires reading the image into memory, then manipulating it with resizing. Check the Manage Media function under your Portal icon. If the original image is a 2mb jpeg, you may need up to 64mb of RAM to create thumbnails on the fly. I find that most photos need cropping for good thumbnails, so I create them independently and upload them when I upload the media.
-Stephen
About the error message, nothing about "out of memory" … this is what I get:
I am also not sure which php setting needs to be updated.
memory_limit = 128M
upload_max_filesize = 8M
It also gives some other problems as well, media is uploaded and placed in correct folder.
But no link of media and person/family is created. So if you want to do this again, it tells you the file is already there (
Media file already exists).
But NOT visible in MultiMedia Objects. So you need to remove the file manually from the server itself to add it again.
I also did not find any option to recreate the thumbnail from MultiMedia Objects, not even if I edit the object.
Thanks,
Matthijs
You need MUCH more memory than the 128 Mb you've allotted. Alternatively, use Stephen's recommendation and create your thumbnail outside PGV and upload it at the same time you upload the main image. Thumbnails should not be larger than 150 px high or wide.
You're not seeing your file in the media object list because all you've done is upload it to the server's file system. This doesn't create a media object, and that fact is well documented.
You would see the file in the Manage Media list, but you will still have problems until you increse the memory limit significantly.
If you FTP your media to your folder or simply upload using PGV, as Gerry says, you've not created any internal link for reference and will have to use media management. upload_max_filesize = 8M is the barrier here to uploading larger files, but as Gerry says, I seriously dobt that 128mb of RAM is sufficient. I have 1G devoted to my PGV install.
Stephen
You're not getting an "out of memory" message because the error is being reported by a PHP function that re-sizes the original image to produce your thumbnail.
This PHP function first has to produce an in-memory bit map of your original JPG, then crop it, and then re-size it. The process is failing, and the PHP function isn't smart enough to report a meaningful error. PGV can't do anything about that.
PGV tries to estimate how much memory would be required to produce the thumbnail and if there's clearly not enough, you WILL see a meaningful message (this is what Greg is referring to). However, if the allocated amount of memory is marginal and your JPG expands to a larger-than-expected bit map (probably too great a colour depth), PGV will launch the PHP re-sizing function which will then fail.
In summary:
Create your thumbnail outside PGV using your favourite image manipulation tool. Upload the main image and the thumbnail at the same time, using PGV's Media Upload tool. Link the uploaded image to the correct person, familoy, or source by editing the image from the Manage Media page.
Sorry, in my last post, "crop" should have been "copy". This is why you need so much memory.
I still find it strange that if ONLY thumbnail fails, all fails but file is uploaded. So if you try again, it just says it's already there (Media file already exists).
Maybe it's just me, but if I have an image (Media Object) without thumb, how do I add the thumb after-wards like suggested?
So far I only know you can do this when uploading, not when the image or media object is already there… (or I still didn't find where to do this).
Matthys - You can upload a thumbnail of any media object to the THUMBS directory, at any time, just not via the PGV GUI. Just FTP the thumbnails to the folder, being sure they are named identically to the master image. This is particularly easy when you use the master image file as the starting place for thumbnail creation, as you simply don't change the name when you save the thumb.
If you have changed your memory parameters, you can also use PGV's system to create missing thumbnails, but it does require that extraordinary amount of system load/overhead/memory if the original master image files are large. You do this from the media management link, CREATE MISSING THUMBNAIL link.
-Stephen