I have not dealt with Base for years now (say 15), but, I did create a database to track stuff that
I own. The DB contained full scale images of the receipts. I did not do as our indicated, but, it
does display properly scaled images in the image control. I took a look at the macros I wrote and I
did nothing special in the macros (it seems) to properly scale.
My biggest error was to embed the entire full size image into the DB.
I do have buttons that Add an Image (so select, load and store in DB), Delete an image (delete from
DB), replace an image (so select from file system, then replace existing), and extract from the DB
I can directly email you a copy of an empy DB if it interests you, but I am not sure if it is
useful or not.
It sounds like you did it write, show a thumbnail stored in your DB and reference the actual file
on disk.
I am writing a database front end application in C++ and QT for specific collectibles and it will
find the image using a naming scheme based on a catelog number (at least for the standard image).
Probably a better solution.
Andrew Pitonyak
On Monday, March 25, 2024 01:01 EDT, Edwin Humphries <humphries.edwin@gmail.com> wrote:
Hi all,
I have a database consisting of several flat-file tables with associated
forms. They contain information about plants, including several photos
(up to 6) per form. They are currently 150*150 "thumbnails", but the
photos themselves are larger, sometimes much larger.
I would like to add a feature that allows a viewer to open the photo up
in a separate window to screen maximum. I have seen several macros
online that purport to do that, but with limited documentation, and
apparently suited only for one photo per form. Moreover, I have little
experience with scripted macros, in Base (or any other program, for that
matter).
Can anyone help with this?
--
Regards,
Edwin Humphries
Mobile: 0435 672 457
I acknowledge the traditional Wodi Wodi custodians, their elders and
customs, of the Dharawal lands on which I live.
"At every moment he beholdeth a wondrous world, a new creation, and
goeth from astonishment to astonishment, and is lost in awe at the works
of the Lord of Oneness." Bahá'u'lláh
"... humans are interesting. With all the wonders there are in the
Universe, they invented boredom." Terry Pratchett, Hogfather
"The most beautiful thing we can experience is the mysterious. It is the
source of all true art and all science. He to whom this emotion is a
stranger, who can no longer pause to wonder and stand rapt in awe, is as
good as dead: his eyes are closed." Albert Einstein
"Stuff your eyes with wonder ... live as if you'd drop dead in ten
seconds. See the world. It's more fantastic than any dream made or paid
for in factories." Ray Bradbury
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.