Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for THUMBNAIL (0.12 sec)

  1. src/main/assemblies/files/generate-thumbnail

      check_command convert
      check_command pdftoppm
      check_command unoconv
      tmp_pdf_file=/tmp/thumbnail.$$.pdf
      unoconv -e PageRange=1-1 -o ${tmp_pdf_file} -f pdf "${target_file}"
      if [[ ! -f ${tmp_pdf_file} ]] ; then
        echo "unoconv does not work."
        exit 1
      fi
      tmp_png_prefix=/tmp/thumbnail.png.$$
      pdftoppm -png -singlefile ${tmp_pdf_file} ${tmp_png_prefix}
      tmp_png_file="${tmp_png_prefix}.png"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. deps.xml

    	<property name="crawler.dir" value="${basedir}/src/main/webapp/WEB-INF/env/crawler" />
    	<property name="suggest.dir" value="${basedir}/src/main/webapp/WEB-INF/env/suggest" />
    	<property name="thumbnail.dir" value="${basedir}/src/main/webapp/WEB-INF/env/thumbnail" />
    	<property name="site.dir" value="${basedir}/src/main/webapp/WEB-INF/site" />
    	<property name="kopf.branch" value="fess-15" />
    
    	<!-- Maven Repository -->
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun May 18 04:53:52 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

        String getName();
    
        /**
         * Generates a thumbnail for the given thumbnail ID and saves it to the output file.
         *
         * @param thumbnailId the unique identifier for the thumbnail
         * @param outputFile the file where the generated thumbnail will be saved
         * @return true if the thumbnail was successfully generated, false otherwise
         */
        boolean generate(String thumbnailId, File outputFile);
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/main/resources/fess_thumbnail.xml

    	<component name="msofficeThumbnailGenerator" class="org.codelibs.fess.thumbnail.impl.CommandGenerator">
    		<property name="name">"msofficeThumbnailGenerator"</property>
    		<property name="commandList">
    			["${path}/generate-thumbnail",
    			"msoffice",
    			"${url}",
    			"${outputFile}"]
    		</property>
    		<property name="generatorList">
    			["${path}/generate-thumbnail"]
    		</property>
    		<postConstruct name="addCondition">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Oct 11 21:34:52 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailForm.java

     */
    package org.codelibs.fess.app.web.thumbnail;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for thumbnail request parameters.
     * Contains the document ID and query parameters needed to retrieve thumbnail images.
     */
    public class ThumbnailForm {
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                String imagePath = "thumbnail/600x400.png";
                try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                    generator.saveImage(input, outputFile);
                }
                assertImageSize(outputFile, 100, 66);
    
                imagePath = "thumbnail/600x400.gif";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.thumbnail.impl;
    
    import java.io.File;
    
    /**
     * Empty implementation of thumbnail generator that does not generate any thumbnails.
     * This class is used as a no-op thumbnail generator when thumbnail generation is disabled
     * or when no specific thumbnail generator is configured.
     */
    public class EmptyGenerator extends BaseThumbnailGenerator {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

        //                                                                      ==============
        /**
         * Serves a thumbnail image for the specified document.
         *
         * @param form the thumbnail request form containing document ID and query parameters
         * @return ActionResponse containing the thumbnail image or 404 if not found
         */
        @Execute
        public ActionResponse index(final ThumbnailForm form) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/searchResults.jsp

    					<c:if test="${thumbnailSupport && !empty doc.thumbnail}">
    					<div class="me-3">
    						<a class="link d-none d-sm-flex" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}"
    							data-order="${s.index}"
    						> <img src="${fe:url('/images/blank.png')}" alt="thumbnail"
    							data-src="${fe:url('/thumbnail/')}?docId=${f:u(doc.doc_id)}&queryId=${f:u(queryId)}" class="thumbnail"
    						>
    						</a>
    					</div>
    					</c:if>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 05:32:37 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

         * Creates a new instance of the thumbnail purging job with default expiry time (30 days).
         */
        public PurgeThumbnailJob() {
            // Default constructor
        }
    
        /** Expiration time for thumbnails in milliseconds (default: 30 days) */
        private long expiry = 30 * 24 * 60 * 60 * 1000L;
    
        /**
         * Executes the thumbnail purging job.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top