thomaskieslich / typo3.tkcropthumbs Goto Github PK
View Code? Open in Web Editor NEWTYPO3 Extension
TYPO3 Extension
In the backend templates the CSS and JS files are linked to "…Resources/Public/Css/…” and "…/Js/…” accordingly, but the folders itself are named "css” and "js". So the files can't be loaded if FS is case sensitive.
Hi,
i have a TYPO3 6.2.5 with extensions workspaces and tkcropthumbs installed. When i change something in a draft workspace and open a preview window, a fatal error occurs:
Fatal error: Call to a member function getProcessingConfiguration() on a non-object in /typo3conf/ext/tkcropthumbs/Classes/Services/Ttcontent.php on line 59
When i uninstall tkcropthumbs the error disappears. Have some hints about this?
After installation of tkcroptthumbs 6.2.3 in TYPO3 6.1.7 the following error occured:
Fatal error: Call to undefined method ThomasKieslich\Tkcropthumbs\Xclass\ContentObjectRenderer::getResourceFactory() in [...]/typo3conf/ext/tkcropthumbs/Classes/Xclass/ContentObjectRenderer.php on line 99
May I suggest a small addition? I wanted to use the cropped image as a Thumbnail and show the full Image in a lightbox. The lightbox image is generated with a img_resource ts content object (with file.import.current = 1
). if you change CropScaleHook.php line 78 to:
$serviceObject = NULL;
if (!$cropEnabled || (isset($fileArray['doNotCrop']) && $fileArray['doNotCrop'])) {
return $imageResource;
} else {
than I can disable the cropping with file.doNotCrop = 1
in my typoscript.
Thank you.
Wenn ich im Edit-Popup die Markierung mit der Maus oben links anfasse und klein ziehen will, fällt die Selektionsbox, also die gepunktete Auswahl, in sich zusammen, also hat erstmal wieder 0. Das Gleiche von rechts oben. Von rechts unten funktioniert es. Links unten geht die Breite auf 0.
Zudem hat die Selektion rechts keinen korrekten Anschlag. D.h. links kann ich die Box maximal bis nur bis an den Rand ziehen. Das Gleiche bei oben. Rechts hingegen kann ich die Box bis über den Rand schieben. Unten stimmt der Anschlag auch nicht richtig, aber nicht so heftig wie rechts.
Es wird TYPO3 6.2.4 verwendet.
Hallo
Also erstmals Gratulation zu dieser wirklich sehr nützlichen Extension. Funktioniert wunderbar und erleichtert die Arbeit für Redakteure wirklich sehr. Leider klappt es nicht wenn ich versuche die Extension in meiner eigenen einzubinden. Ich kann zwar über Typoscript konfigurieren dass der Crop Hook im Backend angezeigt wird und die ensprechenden Werte werden auch korrekt in der Datenbank gespeichert werden, allerdings passiert im Frontend nichts. Unter anderem liefert z.B. $parent->getCurrentTable(); in der CropScaleHook.php immer nur einen leeren Wert zurück
Hast du zufällig mal einen Fluid Viewhelper geschrieben dem man einfach die im tx_tkcropthumbs_crop Feld gespeicherten Crop Werte übergeben kann?
Ich nehme mal an nicht... Glaubst du dass sowas grundsätzlich möglich wäre und wie hoch würdest du den Aufwand dafür schätzen? Ich wäre auch bereit zu bezahlen...
lg
christian
Bei ausgeschalteten TYPO3-Cache verringert die Extension die Performance extrem. Ladezeiten des Dokuments verlängern sich um bis das 3-4fache. Das kann in vielen erdenklichen Situationen zu Problemen führen. Es wird ja auch mal der Cache gelöscht und es ist ein Zeichen für einen Flaschenhals.
Hi, I made an update from 4.5 to 6.2.1, all works fine except of tkcropthumbs 6.2.6 which shows a really strange behaviour: I use it in two pages to crop images in image content elements for a standard thumbnail gallery. This works. But in some other pages where I do not use this extension Typo3 will break in an empty white page with the folliwing error message in error log:
PHP Fatal error: Call to a member function getProperties() on a non-object in [...]typo3conf/ext/tkcropthumbs/Classes/Services/Ttcontent.php on line 80, referer:[...]
I uninstalled tkcropthumbs extension, deleted directory, all extension-related database columns and started a new attempt. But directly after installing extension from repository (I did not edit any content) the error shows up again in the same pages. Without tkcropthumbs the pages are shown without a problem.
Any idea?
Edit1: Made a workaround by checking whether there is an object before creating "$currentFileProperties".
Edit2: I tried it on another server with 6.2.1 & 6.2.2 (without object-check workaround). Image rendering works extremly slow. Changing size and position of cropping area in BE-wizard has no effect on both servers, Only aspect ratio works. It seems that "$fileReference" is empty.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.